mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-06 11:10:14 +00:00
52b2984792
* Check content and order of trimmed messages * Assert tool calls are preserved if below max_tokens * Unreverse order of tool calls * Return tool calls alongside other messages * Write test for trimming untokenizable field * Return original messages in case of exception