zed/crates/assistant_tool
Marshall Bowers 01525f17fa
assistant: Add basic tool invocation (#17368)
This PR adds the initial groundwork for invoking tools in response to
tool uses from the model.

Tool uses are run when the model responds with a `stop_reason` of
`tool_use`.

Currently the tool results are just inserted as text into the user
message. We'll want to include these as `tool_result` content on the
message, but Claude seems to understand it regardless.

Release Notes:

- N/A
2024-09-04 14:32:20 -04:00
..
src assistant: Add basic tool invocation (#17368) 2024-09-04 14:32:20 -04:00
Cargo.toml assistant: Add tool registry (#17331) 2024-09-03 19:14:36 -04:00
LICENSE-GPL assistant: Add tool registry (#17331) 2024-09-03 19:14:36 -04:00