diff --git a/src/gateway/agent_md_template.md b/src/gateway/agent_md_template.md index e69de29..cae1413 100644 --- a/src/gateway/agent_md_template.md +++ b/src/gateway/agent_md_template.md @@ -0,0 +1,6 @@ + + diff --git a/src/providers/openai.rs b/src/providers/openai.rs index a066d8b..e411aa4 100644 --- a/src/providers/openai.rs +++ b/src/providers/openai.rs @@ -3,6 +3,7 @@ use futures_util::StreamExt; use reqwest::Client; use serde::Deserialize; use serde_json::{Value, json}; +use std::collections::BTreeMap; use std::collections::HashMap; use std::time::Duration; @@ -25,7 +26,7 @@ struct StreamingToolCall { struct StreamingAccumulator { content: String, reasoning_content: Option, - tool_calls: HashMap, + tool_calls: BTreeMap, response_id: String, } diff --git a/src/skills/mod.rs b/src/skills/mod.rs index ef1e57a..2d7ddaa 100644 --- a/src/skills/mod.rs +++ b/src/skills/mod.rs @@ -1232,6 +1232,7 @@ mod tests { SkillSource::Project, SkillSource::ProjectAgent, SkillSource::ProjectOpenclaw, + SkillSource::Custom("unknown".to_string()), ] ); }