mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-07 09:12:20 +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