diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-27 08:21:49 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-27 08:21:49 +0800 |
| commit | 33a0049a81103c1f6c5639b9cec43cb14a9ef367 (patch) | |
| tree | 7402b251e2d75aaf5306487b70265f35c8d52b22 /src/repl/mod.rs | |
| parent | 1ced451c2723c36b7e0cb70e6c0755cdbad457c3 (diff) | |
| download | aichat-33a0049a81103c1f6c5639b9cec43cb14a9ef367.tar.gz | |
refactor: saved messages ignore embedding context (#659)
Diffstat (limited to 'src/repl/mod.rs')
| -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 1613846..c09395d 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -550,7 +550,7 @@ async fn ask( chat_completion_streaming(&input, client.as_ref(), config, abort_signal.clone()).await?; config .write() - .after_chat_completion(&mut input, &output, &tool_results)?; + .after_chat_completion(&input, &output, &tool_results)?; if need_send_tool_results(&tool_results) { ask( config, |
