ZIm/crates/language_models
Antonio Scandurra 25ced2e3c2
Fix error when Copilot calls tools without arguments (#30371)
Fixes https://github.com/zed-industries/zed/issues/30346

The model can output an empty string to indicate the absence of
arguments, which can't be parsed as a `serde_json::Value`. When that
happens, we now create an empty object instead on behalf of the model.

Release Notes:

- Fixed a bug that prevented Copilot models from calling the
`diagnostic` tool.
2025-05-09 12:14:36 +00:00
..
src Fix error when Copilot calls tools without arguments (#30371) 2025-05-09 12:14:36 +00:00
Cargo.toml Send up Zed version with edit prediction and completion requests (#30136) 2025-05-07 15:44:30 +00:00
LICENSE-GPL Add language_models crate to house language model providers (#20945) 2024-11-20 18:49:34 -05:00