spell-check

This commit is contained in:
Adil Hafeez 2025-04-14 15:48:40 -07:00
parent 02efe6d095
commit cee177e8c4
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
4 changed files with 5 additions and 4 deletions

View file

@ -277,6 +277,7 @@ $ curl --header 'Content-Type: application/json' \
],
...
}
```
You can override model selection using `x-arch-llm-provider-hint` header. For example if you want to use mistral using following curl command,

View file

@ -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(),

View file

@ -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 {

View file

@ -68,7 +68,7 @@ Content-Type: application/json
{
"role": "assistant",
"content": "It seems I'm missing some information. Could you provide the following details days ?",
"model": "Arch-Function-1.5b"
"model": "Arch-Function"
},
{
"role": "user",
@ -91,7 +91,7 @@ Content-Type: application/json
{
"role": "assistant",
"content": "It seems I'm missing some information. Could you provide the following details days ?",
"model": "Arch-Function-1.5b"
"model": "Arch-Function"
},
{
"role": "user",