mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-25 22:20:43 +00:00
* feat(db): route jwt provisioning writes through rust repositories Add the single-statement writes native JWT provisioning needs to litellm-repositories and route Python through them: UserRepository::set_role and ::insert, JwtKeyMappingRepository::insert and AgentIdentityRepository::record_authentication replace the Prisma calls behind PythonAuthHost.set_user_role, the user_id_upsert create in get_user_object, the mapping insert in create_key_mapping and AgentIdentityStore.record_authentication. Each write runs on the writer through Database::run under the call type Prisma reports, returns the stored row in its read's shape, and stamps timestamps in UTC. A sign-in that loses the user insert to a concurrent one now gets the user that won and skips the default team adds, where the Prisma create raised a unique violation. * chore: drop the new agent repository lint rule --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| auth | ||
| __init__.py | ||
| test_a2a_endpoints.py | ||
| test_a2a_version_e2e.py | ||
| test_agent_header_isolation.py | ||
| test_agent_headers.py | ||
| test_agent_rbac.py | ||
| test_agent_registry.py | ||
| test_agent_search.py | ||
| test_databricks_oauth.py | ||
| test_endpoints.py | ||
| test_identity.py | ||
| test_identity_store.py | ||
| test_kill_switch.py | ||
| test_managed_identity.py | ||
| test_model_list_helpers.py | ||