ZIm/crates/language_models/src/provider
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
..
anthropic.rs Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
bedrock.rs bedrock: Fix UX bug (#28350) 2025-05-08 22:09:18 +00:00
cloud.rs Remove individual URL overrides for LLM service (#30290) 2025-05-08 17:54:46 +00:00
copilot_chat.rs Fix error when Copilot calls tools without arguments (#30371) 2025-05-09 12:14:36 +00:00
deepseek.rs Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
google.rs Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
lmstudio.rs Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
mistral.rs Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
ollama.rs Reuse conversation cache when streaming edits (#30245) 2025-05-08 14:36:34 +02:00
open_ai.rs Improve token counting for OpenAI models (#30242) 2025-05-08 13:09:29 +00:00