ZIm/crates/language_models/src
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
..
provider Fix error when Copilot calls tools without arguments (#30371) 2025-05-09 12:14:36 +00:00
ui chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
language_models.rs language_models: Remove language-models feature flag (#29416) 2025-04-25 14:18:48 +00:00
provider.rs assistant: Add Bedrock support (#21092) 2025-02-24 18:10:12 -05:00
settings.rs agent: Allow customizing temperature by provider/model (#30033) 2025-05-06 20:36:25 +00:00
ui.rs assistant: Refine settings view's instruction visuals (#25812) 2025-02-28 12:06:47 -03:00