Skip to content

Commit

Permalink
Update agent_chat.md (#1677)
Browse files Browse the repository at this point in the history
The first argument inside "register_function" shall be "caller" instead of "agent". ref:
https://microsoft.github.io/autogen/docs/reference/agentchat/conversable_agent/
  • Loading branch information
FarshidShafia authored Feb 14, 2024
1 parent ad9e5cf commit a8cf7e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/Use-Cases/agent_chat.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def currency_calculator(

autogen.agentchat.register_function(
currency_calculator,
agent=chatbot,
caller=chatbot,
executor=user_proxy,
description="Currency exchange calculator.",
)
Expand Down

0 comments on commit a8cf7e3

Please sign in to comment.