Skip to content

Commit 942f395

Browse files
committed
spelling: responses
Signed-off-by: Josh Soref <[email protected]>
1 parent 148663c commit 942f395

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/unittests/flows/llm_flows/test_functions_simple.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_simple_function():
3131
function_call_1 = types.Part.from_function_call(
3232
name='increase_by_one', args={'x': 1}
3333
)
34-
function_respones_2 = types.Part.from_function_response(
34+
function_responses_2 = types.Part.from_function_response(
3535
name='increase_by_one', response={'result': 2}
3636
)
3737
responses: list[types.Content] = [
@@ -53,7 +53,7 @@ def increase_by_one(x: int) -> int:
5353
runner = testing_utils.InMemoryRunner(agent)
5454
assert testing_utils.simplify_events(runner.run('test')) == [
5555
('root_agent', function_call_1),
56-
('root_agent', function_respones_2),
56+
('root_agent', function_responses_2),
5757
('root_agent', 'response1'),
5858
]
5959

@@ -64,7 +64,7 @@ def increase_by_one(x: int) -> int:
6464
assert testing_utils.simplify_contents(mock_model.requests[1].contents) == [
6565
('user', 'test'),
6666
('model', function_call_1),
67-
('user', function_respones_2),
67+
('user', function_responses_2),
6868
]
6969

7070
# Asserts the function calls.

0 commit comments

Comments
 (0)