mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-20 00:11:50 +00:00
POST /team/new with any budget_limits returned 500 because jsonify_team_object serialized members_with_roles but left budget_limits as a raw Python list, which Prisma's Json column rejects. /team/update and /key/generate worked only because each json.dumps the windows itself. Serialize budget_limits in the shared helper, guarded by isinstance(list) so the pre-serialized /team/update path is unaffected. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _harness_smoke_test.py | ||
| conftest.py | ||
| test_cache_user_row.py | ||
| test_config_param_cache.py | ||
| test_password_helpers.py | ||
| test_prisma_client_engine_watcher.py | ||
| test_prisma_client_get_data.py | ||
| test_prisma_client_health.py | ||
| test_prisma_client_lifecycle.py | ||
| test_prisma_client_reconnect.py | ||
| test_prisma_client_writes.py | ||
| test_proxy_update_spend.py | ||
| test_send_email.py | ||
| test_spend_functions.py | ||