summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/input.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/config/input.rs b/src/config/input.rs
index b0b0bd9..3a258b9 100644
--- a/src/config/input.rs
+++ b/src/config/input.rs
@@ -209,13 +209,13 @@ impl Input {
self.rag_name.as_deref()
}
- pub fn merge_tool_call(mut self, output: String, tool_call_results: Vec<ToolResult>) -> Self {
+ pub fn merge_tool_call(mut self, output: String, tool_results: Vec<ToolResult>) -> Self {
match self.tool_call.as_mut() {
- Some(exist_tool_call_results) => {
- exist_tool_call_results.0.extend(tool_call_results);
- exist_tool_call_results.1 = output;
+ Some(exist_tool_results) => {
+ exist_tool_results.0.extend(tool_results);
+ exist_tool_results.1 = output;
}
- None => self.tool_call = Some((tool_call_results, output)),
+ None => self.tool_call = Some((tool_results, output)),
}
self
}