fix: Fixed a bug in the new supervisor and todo built-ins that was causing errors with OpenAI models
CI / All (macos-latest) (push) Has been cancelled
CI / All (ubuntu-latest) (push) Has been cancelled
CI / All (windows-latest) (push) Has been cancelled

This commit is contained in:
2026-02-18 14:52:57 -07:00
parent 2b92e6c98b
commit 32a55652fe
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,
+1
View File
@@ -71,6 +71,7 @@ pub fn todo_function_declarations() -> Vec<FunctionDeclaration> {
description: "Display the current todo list with status of each item.".to_string(),
parameters: JsonSchema {
type_value: Some("object".to_string()),
properties: Some(IndexMap::new()),
..Default::default()
},
agent: false,