mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-26 06:03:19 +00:00
The interactive proxy chat /save command wrote conversations with json.dump's default ensure_ascii=True and no file encoding, so non-ASCII content (any non-English message, emoji) was stored as unreadable \uXXXX escapes, and /load read the file with the platform default encoding. Write with ensure_ascii=False and open both /save and /load as UTF-8 so conversations are stored readably and round-trip on every platform, matching how the rest of the codebase persists JSON. |
||
|---|---|---|
| .. | ||
| cli | ||
| __init__.py | ||
| conftest.py | ||
| test_chat.py | ||
| test_client.py | ||
| test_credentials.py | ||
| test_http_client.py | ||
| test_http_commands.py | ||
| test_keys.py | ||
| test_model_groups.py | ||
| test_models.py | ||
| test_teams.py | ||
| test_users.py | ||