mirror of
https://github.com/microsoft/autogen.git
synced 2025-10-29 17:00:56 +00:00
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:
parent
ad9e5cf2ee
commit
a8cf7e3cf8
@ -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.",
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user