diff options
| author | Leonard Kugis <leonard@kug.is> | 2026-10-03 04:44:13 +0200 |
|---|---|---|
| committer | Leonard Kugis <leonard@kug.is> | 2026-10-03 04:44:13 +0200 |
| commit | 15e82d6c9def95befad453c0c1de087e1ff821da (patch) | |
| tree | b8e8c6bbffbbf464bcc8212bf478b2a470734cca /src/repl | |
| parent | 1ce33d3575401ace614d898afece987f0be4b6fc (diff) | |
| download | aichat-15e82d6c9def95befad453c0c1de087e1ff821da.tar.gz | |
Fixed subquery tool double addingmain
Diffstat (limited to 'src/repl')
| -rw-r--r-- | src/repl/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 85f4f9c..8ec8aae 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -740,7 +740,7 @@ async fn ask( let client = input.create_client()?; config.write().before_chat_completion(&input)?; let (output, tool_results) = if input.stream() { - call_chat_completions_streaming(&input, client.as_ref(), abort_signal.clone()).await? + call_chat_completions_streaming(&input, client.as_ref(), abort_signal.clone(), None).await? } else { call_chat_completions(&input, true, false, client.as_ref(), abort_signal.clone()).await? }; |
