mirror of
https://github.com/katanemo/plano.git
synced 2026-06-26 15:39:40 +02:00
spell-check
This commit is contained in:
parent
02efe6d095
commit
cee177e8c4
4 changed files with 5 additions and 4 deletions
|
|
@ -382,7 +382,7 @@ impl HttpContext for StreamContext {
|
|||
*metadata = Value::Object(serde_json::Map::new());
|
||||
}
|
||||
|
||||
let tool_call_message = self.generate_toll_call_message();
|
||||
let tool_call_message = self.generate_tool_call_message();
|
||||
let tool_call_message_str = serde_json::to_string(&tool_call_message).unwrap();
|
||||
metadata.as_object_mut().unwrap().insert(
|
||||
X_ARCH_TOOL_CALL.to_string(),
|
||||
|
|
|
|||
|
|
@ -626,7 +626,7 @@ impl StreamContext {
|
|||
messages
|
||||
}
|
||||
|
||||
pub fn generate_toll_call_message(&mut self) -> Message {
|
||||
pub fn generate_tool_call_message(&mut self) -> Message {
|
||||
if self.arch_fc_response.is_none() {
|
||||
info!("arch_fc_response is none, generating tool call message");
|
||||
Message {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue