Add action log to thinking tool (#26802)

Richard Feldman created

Release Notes:

- N/A

Change summary

crates/assistant_tools/src/thinking_tool.rs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Detailed changes

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.