mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-15 14:21:58 +00:00
Perplexity requires type='message' on input items. Add _ensure_message_type to automatically set it when missing, matching the old _format_input behavior.