mirror of https://github.com/aliasrobotics/cai.git
Fix tests
This commit is contained in:
parent
249e89eddb
commit
a979cb761a
|
|
@ -66,7 +66,7 @@ async def test_stream_response_yields_events_for_text_content(monkeypatch) -> No
|
||||||
output=[],
|
output=[],
|
||||||
tool_choice="none",
|
tool_choice="none",
|
||||||
tools=[],
|
tools=[],
|
||||||
|
parallel_tool_calls=False,
|
||||||
)
|
)
|
||||||
return resp, fake_stream()
|
return resp, fake_stream()
|
||||||
|
|
||||||
|
|
@ -155,7 +155,7 @@ async def test_stream_response_yields_events_for_refusal_content(monkeypatch) ->
|
||||||
output=[],
|
output=[],
|
||||||
tool_choice="none",
|
tool_choice="none",
|
||||||
tools=[],
|
tools=[],
|
||||||
|
parallel_tool_calls=False,
|
||||||
)
|
)
|
||||||
return resp, fake_stream()
|
return resp, fake_stream()
|
||||||
|
|
||||||
|
|
@ -242,7 +242,7 @@ async def test_stream_response_yields_events_for_tool_call(monkeypatch) -> None:
|
||||||
output=[],
|
output=[],
|
||||||
tool_choice="none",
|
tool_choice="none",
|
||||||
tools=[],
|
tools=[],
|
||||||
|
parallel_tool_calls=False,
|
||||||
)
|
)
|
||||||
return resp, fake_stream()
|
return resp, fake_stream()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -124,5 +124,5 @@ def get_response_obj(output: list[TResponseOutputItem], response_id: str | None
|
||||||
tool_choice="none",
|
tool_choice="none",
|
||||||
tools=[],
|
tools=[],
|
||||||
top_p=None,
|
top_p=None,
|
||||||
|
parallel_tool_calls=False,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue