ZIm/crates/assistant_tools
duvetfall fddaa31655
assistant_tools: Fix code_action and rename schemas for Gemini (#28634)
Closes #28475

Updates `rename` and `code_action` `input_schema` methods to use
`json_schema_for<T>()` which transforms standard JSONSchema into the
subset required by Gemini.
Also makes `input_schema` implementations consistent.
Tested tools against Gemini 2.5 Pro Preview, Zed Claude 3.7 Sonnet
Thinking, o3-mini

Release Notes:

- Agent Beta: Fixed error 400 `INVALID_ARGUMENT` when using Gemini with
`code_actions` or `rename` tools enabled.
2025-04-14 11:01:47 -04:00
..
src assistant_tools: Fix code_action and rename schemas for Gemini (#28634) 2025-04-14 11:01:47 -04:00
Cargo.toml Use tree-sitter when returning symbols to the model for a given file (#28352) 2025-04-08 16:11:05 -04:00
LICENSE-GPL Factor tool definitions out of assistant (#21189) 2024-11-25 18:26:34 -05:00