mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-13 08:52:02 +00:00
test(integration): bind Messages checks to gateway credentials
This commit is contained in:
parent
9f0942ef04
commit
fbcc0e75bf
1 changed files with 1 additions and 0 deletions
|
|
@ -409,6 +409,7 @@ def test_cache_hit_post_call_reject_keeps_deployment_labels_anthropic(gateway: G
|
|||
sdk: Final = anthropic.Anthropic(
|
||||
base_url=str(rig.candidate.client.base_url),
|
||||
api_key=rig.candidate.key,
|
||||
auth_token=rig.candidate.key,
|
||||
http_client=httpx.Client(trust_env=False, timeout=15),
|
||||
)
|
||||
sdk.messages.create(model=rig.model_name, max_tokens=16, messages=[{"role": "user", "content": text}])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue