Pull action_log into its own crate (#35959)

Release Notes:

- N/A
This commit is contained in:
Ben Brandt 2025-08-10 23:57:55 +02:00 committed by GitHub
parent 72761797a2
commit 308cb9e537
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 177 additions and 77 deletions

View file

@ -1,6 +1,7 @@
use crate::schema::json_schema_for;
use action_log::ActionLog;
use anyhow::{Context as _, Result, anyhow};
use assistant_tool::{ActionLog, Tool, ToolResult};
use assistant_tool::{Tool, ToolResult};
use assistant_tool::{ToolResultContent, outline};
use gpui::{AnyWindowHandle, App, Entity, Task};
use project::{ImageItem, image_store};
@ -286,7 +287,7 @@ impl Tool for ReadFileTool {
Using the line numbers in this outline, you can call this tool again
while specifying the start_line and end_line fields to see the
implementations of symbols in the outline.
Alternatively, you can fall back to the `grep` tool (if available)
to search the file for specific content."
}