Update agent_chat.md (#1677)

The first argument inside "register_function" shall be "caller" instead of "agent". ref:
https://microsoft.github.io/autogen/docs/reference/agentchat/conversable_agent/
This commit is contained in:
FarshidShafia 2024-02-14 18:00:11 +01:00 committed by GitHub
parent ad9e5cf2ee
commit a8cf7e3cf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -173,7 +173,7 @@ def currency_calculator(
autogen.agentchat.register_function( autogen.agentchat.register_function(
currency_calculator, currency_calculator,
agent=chatbot, caller=chatbot,
executor=user_proxy, executor=user_proxy,
description="Currency exchange calculator.", description="Currency exchange calculator.",
) )