litellm/litellm-rust/crates/core-utils
mateo-berri f48aca7aac fix(github_copilot): keep a turn of only empty text documents non-empty
Anthropic accepts a user turn that holds only an empty text document,
but once the Copilot adapter leaves that document out the turn has no
content and Copilot answers 400. Such a turn now gets the empty-content
placeholder text LiteLLM already sends on Anthropic routes, keeping the
last cache breakpoint.

(cherry picked from commit 82768cbb4a)
2026-11-22 15:47:50 -08:00
..
src fix(github_copilot): keep a turn of only empty text documents non-empty 2026-11-22 15:47:50 -08:00
tests refactor(rust): share anthropic types, request helpers, and streaming contracts across crates (#43426) 2026-09-27 14:53:12 -07:00
Cargo.toml refactor(rust): add shared llms wire type derives (#43730) 2026-09-29 09:19:33 -07:00