ZIm/crates/language_model
Agus Zubiaga b14356d1d3
agent: Do not add <using_tool> placeholder (#29194)
Our provider code in `language_models` filters out messages for which
`LanguageModelRequestMessage::contents_empty` returns `false`. This
doesn't seem wrong by itself, but `contents_empty` was returning `false`
for messages whose first segment didn't contain non-whitespace text even
if they contained other non-empty segments. This caused requests to fail
when a message with a tool call didn't contain any preceding text.

Release Notes:

- N/A
2025-04-22 00:41:47 -03:00
..
src agent: Do not add <using_tool> placeholder (#29194) 2025-04-22 00:41:47 -03:00
Cargo.toml Simplify language model registry + only emit change events on change (#29086) 2025-04-19 08:26:42 +00:00
LICENSE-GPL Extract completion provider crate (#14823) 2024-07-19 13:35:34 -04:00