mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
test(spend): make responses-api input unique per run
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
7d2b062059
commit
f9282fd28d
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ def test_unified_responses_records_header_tags(gateway: Gateway, tmp_path: Path,
|
|||
client: Final = openai.OpenAI(
|
||||
api_key=key, base_url=f"{_base_url(candidate)}/v1", default_headers=SENT_HEADERS
|
||||
)
|
||||
created: Final = client.responses.create(model=model, input="tag me", stream=stream)
|
||||
created: Final = client.responses.create(model=model, input=f"tag me {uuid.uuid4().hex}", stream=stream)
|
||||
if stream:
|
||||
frames: Final = list(created)
|
||||
request_id: Final = next(event.response.id for event in frames if event.type == "response.completed")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue