mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
write_pid_record ran before the try/except that terminates the proxy and clears the pid record on failure, so a write_pid_record error (disk full, permission error creating ~/.litellm/autorouter/) left the just-launched proxy running with no pid record on disk at all -- exactly the state lite autoroute down needs a pid record to recover from. Moved it inside the try block alongside poll_liveliness. |
||
|---|---|---|
| .. | ||
| cli | ||
| 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_users.py | ||