mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
Temporarily disable TODO Tool (#4158)
This commit is contained in:
@@ -58,7 +58,9 @@ use super::platform_tools;
|
||||
use super::tool_execution::{ToolCallResult, CHAT_MODE_TOOL_SKIPPED_RESPONSE, DECLINED_RESPONSE};
|
||||
use crate::agents::subagent_task_config::TaskConfig;
|
||||
use crate::agents::todo_tools::{
|
||||
todo_read_tool, todo_write_tool, TODO_READ_TOOL_NAME, TODO_WRITE_TOOL_NAME,
|
||||
// todo_read_tool, todo_write_tool, // TODO: Re-enable after next release
|
||||
TODO_READ_TOOL_NAME,
|
||||
TODO_WRITE_TOOL_NAME,
|
||||
};
|
||||
use crate::conversation::message::{Message, ToolRequest};
|
||||
|
||||
@@ -756,7 +758,8 @@ impl Agent {
|
||||
]);
|
||||
|
||||
// Add task planner tools
|
||||
prefixed_tools.extend([todo_read_tool(), todo_write_tool()]);
|
||||
// TODO: Re-enable after next release
|
||||
// prefixed_tools.extend([todo_read_tool(), todo_write_tool()]);
|
||||
|
||||
// Dynamic task tool
|
||||
prefixed_tools.push(create_dynamic_task_tool());
|
||||
@@ -1512,6 +1515,7 @@ mod tests {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore] // TODO: Re-enable after next release when TODO tools are re-enabled
|
||||
async fn test_todo_tools_integration() -> Result<()> {
|
||||
let agent = Agent::new();
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ use serial_test::serial;
|
||||
use std::sync::Arc;
|
||||
|
||||
#[tokio::test]
|
||||
#[ignore] // TODO: Re-enable after next release when TODO tools are re-enabled
|
||||
async fn test_todo_tools_in_agent_list() {
|
||||
let agent = Agent::new();
|
||||
let tools = agent.list_tools(None).await;
|
||||
|
||||
Reference in New Issue
Block a user