Skip to content

Commit 3ab329f

Browse files
authored
fix: sets custom tool flag for custom tools (#1423)
1 parent 5d2c280 commit 3ab329f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/q_chat/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2760,6 +2760,7 @@ impl ChatContext {
27602760
tool_telemetry = tool_telemetry.and_modify(|ev| {
27612761
ev.custom_tool_call_latency = Some(tool_time.as_secs() as usize);
27622762
ev.input_token_size = Some(ct.get_input_token_size());
2763+
ev.is_custom_tool = true;
27632764
});
27642765
}
27652766
let tool_time = format!("{}.{}", tool_time.as_secs(), tool_time.subsec_millis());

0 commit comments

Comments
 (0)