mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-17 09:34:48 +00:00
test: force local model cost map in unit conftest regardless of ambient env
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
dda3248a78
commit
877ed8872c
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ from typing import Final
|
|||
import pytest
|
||||
from pytest_socket import enable_socket, socket_allow_hosts
|
||||
|
||||
os.environ.setdefault("LITELLM_LOCAL_MODEL_COST_MAP", "True")
|
||||
os.environ.update(LITELLM_LOCAL_MODEL_COST_MAP="True")
|
||||
|
||||
import litellm # noqa: E402 # litellm reads LITELLM_LOCAL_MODEL_COST_MAP at import
|
||||
import litellm.router as litellm_router_module # noqa: E402 # same import-time dependency
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue