mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-17 04:34:25 +00:00
test(decisions): clear every OpenAI base setting in the proxy OpenAI deployment test
This commit is contained in:
parent
e465919004
commit
a2951b318d
1 changed files with 2 additions and 0 deletions
|
|
@ -446,7 +446,9 @@ def test_openai_format_decisions_reach_an_openai_deployment_unchanged_including_
|
||||||
monkeypatch: pytest.MonkeyPatch,
|
monkeypatch: pytest.MonkeyPatch,
|
||||||
respx_mock: respx.MockRouter,
|
respx_mock: respx.MockRouter,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
monkeypatch.setattr(litellm, "api_base", None)
|
||||||
monkeypatch.delenv("OPENAI_BASE_URL", raising=False)
|
monkeypatch.delenv("OPENAI_BASE_URL", raising=False)
|
||||||
|
monkeypatch.delenv("OPENAI_API_BASE", raising=False)
|
||||||
monkeypatch.setattr(
|
monkeypatch.setattr(
|
||||||
litellm.proxy.proxy_server,
|
litellm.proxy.proxy_server,
|
||||||
"llm_router",
|
"llm_router",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue