mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
Update integration tests
This commit is contained in:
parent
67d10a9c7c
commit
875020a2cc
1 changed files with 1 additions and 1 deletions
|
|
@ -669,7 +669,7 @@ def test_max_tool_calls_invalid(responses_client, text_model_id):
|
|||
|
||||
# Create a response with an invalid max_tool_calls value i.e. 0
|
||||
# Handle ValueError from LLS and BadRequestError from OpenAI client
|
||||
with pytest.raises((ValueError, openai.BadRequestError)) as excinfo:
|
||||
with pytest.raises((ValueError, llama_stack_client.BadRequestError, openai.BadRequestError)) as excinfo:
|
||||
responses_client.responses.create(
|
||||
model=text_model_id,
|
||||
input=input,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue