mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
test(spend): fix model constant names in chaos cells
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
5e3aa7938f
commit
8941fd5bab
1 changed files with 4 additions and 4 deletions
|
|
@ -11,8 +11,8 @@ from integration._support.database import read_rows
|
|||
from integration._support.process import owned_proxy_process
|
||||
from integration._support.wire import Reply, Request, wire_server
|
||||
from integration.spend._request_tag_helpers import (
|
||||
ANTHROPIC_ANTHROPIC_MODEL,
|
||||
OPENAI_ANTHROPIC_MODEL,
|
||||
ANTHROPIC_MODEL,
|
||||
OPENAI_MODEL,
|
||||
T3,
|
||||
provider_env,
|
||||
provider_reply,
|
||||
|
|
@ -59,7 +59,7 @@ def _tagged_requests(
|
|||
candidate.request(
|
||||
"POST",
|
||||
"/openai/v1/chat/completions",
|
||||
{"model": OPENAI_ANTHROPIC_MODEL, "messages": [{"role": "user", "content": marker}], "stream": stream},
|
||||
{"model": OPENAI_MODEL, "messages": [{"role": "user", "content": marker}], "stream": stream},
|
||||
key=key,
|
||||
headers=HEADERS,
|
||||
),
|
||||
|
|
@ -87,7 +87,7 @@ def _tagged_requests(
|
|||
|
||||
def _deployments(scenario, url: str) -> tuple[str, str]:
|
||||
return (
|
||||
scenario.model(model=f"anthropic/{MODEL}", api_base=url, api_key="synthetic-anthropic-key"),
|
||||
scenario.model(model=f"anthropic/{ANTHROPIC_MODEL}", api_base=url, api_key="synthetic-anthropic-key"),
|
||||
scenario.model(model=f"openai/{OPENAI_MODEL}", api_base=f"{url}/v1"),
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue