Skip to content

Commit

Permalink
udpate
Browse files Browse the repository at this point in the history
  • Loading branch information
yiranwu0 committed Nov 17, 2024
1 parent e3d119e commit b5d1453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/agentchat/test_function_call.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def __init__(self, given_num):

def add(self, num_to_be_added):
self.given_num = num_to_be_added + self.given_num
return self.given_num
return str(self.given_num)

user = UserProxyAgent(name="test", function_map={"add_num": AddNum(given_num=10).add})
func_call = {"name": "add_num", "arguments": '{ "num_to_be_added": 5 }'}
Expand Down

0 comments on commit b5d1453

Please sign in to comment.