@@ -31,7 +31,7 @@ def test_simple_function():
31
31
function_call_1 = types .Part .from_function_call (
32
32
name = 'increase_by_one' , args = {'x' : 1 }
33
33
)
34
- function_respones_2 = types .Part .from_function_response (
34
+ function_responses_2 = types .Part .from_function_response (
35
35
name = 'increase_by_one' , response = {'result' : 2 }
36
36
)
37
37
responses : list [types .Content ] = [
@@ -53,7 +53,7 @@ def increase_by_one(x: int) -> int:
53
53
runner = testing_utils .InMemoryRunner (agent )
54
54
assert testing_utils .simplify_events (runner .run ('test' )) == [
55
55
('root_agent' , function_call_1 ),
56
- ('root_agent' , function_respones_2 ),
56
+ ('root_agent' , function_responses_2 ),
57
57
('root_agent' , 'response1' ),
58
58
]
59
59
@@ -64,7 +64,7 @@ def increase_by_one(x: int) -> int:
64
64
assert testing_utils .simplify_contents (mock_model .requests [1 ].contents ) == [
65
65
('user' , 'test' ),
66
66
('model' , function_call_1 ),
67
- ('user' , function_respones_2 ),
67
+ ('user' , function_responses_2 ),
68
68
]
69
69
70
70
# Asserts the function calls.
0 commit comments