Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yiranwu0 committed Aug 3, 2023
1 parent e4c29c8 commit bd82c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/autogen/test_function_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def get_number():

user = UserProxyAgent("user", function_map={"get_number": get_number})
func_call = {"name": "get_number", "arguments": "{}"}
assert user._execute_function(func_call)[1]["content"] == "42"
assert user.execute_function(func_call)[1]["content"] == "42"


if __name__ == "__main__":
Expand Down

0 comments on commit bd82c87

Please sign in to comment.