Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add action log to thinking tool (#26802)
Richard Feldmanf40b22c02ac2
diff --git a/crates/assistant_tools/src/thinking_tool.rs b/crates/assistant_tools/src/thinking_tool.rsindex a3bac897a0b..e11faf86b69 100644--- a/crates/assistant_tools/src/thinking_tool.rs+++ b/crates/assistant_tools/src/thinking_tool.rs@@ -1,7 +1,7 @@use std::sync::Arc;use anyhow::{anyhow, Result};-use assistant_tool::Tool;+use assistant_tool::{ActionLog, Tool};use gpui::{App, Entity, Task};use language_model::LanguageModelRequestMessage;use project::Project;@@ -36,6 +36,7 @@ impl Tool for ThinkingTool {input: serde_json::Value,_messages: &[LanguageModelRequestMessage],_project: Entity<Project>,+ _action_log: Entity<ActionLog>,_cx: &mut App,) -> Task<Result<String>> {// This tool just "thinks out loud" and doesn't perform any actions.