fix: Fixed a bug in the new supervisor and todo built-ins that was causing errors with OpenAI models

This commit is contained in:
2026-02-18 14:52:57 -07:00
parent ad8be61a3b
commit b5b3dc5ba8
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -128,6 +128,7 @@ pub fn supervisor_function_declarations() -> Vec<FunctionDeclaration> {
description: "List all currently running subagents and their status.".to_string(),
parameters: JsonSchema {
type_value: Some("object".to_string()),
properties: Some(IndexMap::new()),
..Default::default()
},
agent: false,
@@ -211,6 +212,7 @@ pub fn supervisor_function_declarations() -> Vec<FunctionDeclaration> {
description: "List all tasks in the task queue with their status and dependencies.".to_string(),
parameters: JsonSchema {
type_value: Some("object".to_string()),
properties: Some(IndexMap::new()),
..Default::default()
},
agent: false,
@@ -289,6 +291,7 @@ pub fn teammate_function_declarations() -> Vec<FunctionDeclaration> {
description: "Check for and drain all pending messages in your inbox from sibling agents or your parent.".to_string(),
parameters: JsonSchema {
type_value: Some("object".to_string()),
properties: Some(IndexMap::new()),
..Default::default()
},
agent: false,