mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
The store lived inline in responses_api, so covering it meant patching five proxy_server globals per test, which the test-quality gate counts as pinning the test to the wiring rather than the behaviour. It is now a module-level function that takes the managed-files hook as an argument, and the tests hand it a fake directly. The poller tests reach the same fetch through the router fixture that is already injected, instead of patching litellm.aget_responses. A response with no model_id now returns early rather than raising into the caller's except block. Nothing is stored either way and the warning is unchanged, so only the redundant second log line goes away. Claude-Session: https://claude.ai/code/session_01RHAjRxNhXTpKHeGMZ1nDKi |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_endpoints.py | ||