Skip to content

Commit c1017c6

Browse files
fix tools test
1 parent f54944e commit c1017c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/openai_agents/basic/test_tools_workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
def tools_test_model():
1313
return TestModel.returning_responses(
14-
[ResponseBuilders.tool_call_message("get_weather", {"city": "New York"}),
14+
[ResponseBuilders.tool_call('{"city": "New York"}', "get_weather"),
1515
ResponseBuilders.output_message("The weather in New York is sunny with a temperature of 75°F.")]
1616
)
1717

0 commit comments

Comments
 (0)