ZIm/crates/language_models
Antonio Scandurra 0f50e6b1d1
Fix error when requesting completion to Copilot Chat without tools (#30007)
The API will return a Bad Request (with no error message) when tools
were used previously in the conversation but no tools are provided as
part of a new request.

Inserting a dummy tool seems to circumvent this error.

Release Notes:

- Fixed an error that could sometimes occur when editing using Copilot
Chat.

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
2025-05-06 14:19:59 +00:00
..
src Fix error when requesting completion to Copilot Chat without tools (#30007) 2025-05-06 14:19:59 +00:00
Cargo.toml Streaming tool calls (#29179) 2025-04-21 22:28:32 +00:00
LICENSE-GPL Add language_models crate to house language model providers (#20945) 2024-11-20 18:49:34 -05:00