Skip to content

InvalidRequestError when giving the autogen.AssistantAgent tools via llm_config.functions #51

@bruinon

Description

@bruinon

folks,

i am following the tutorial listed in https://github.com/microsoft/autogen/blob/main/notebook/agentchat_two_users.ipynb

  1. I completed the set up for the ask_planer function without issues
planner_user (to planner):

hello

--------------------------------------------------------------------------------
planner (to planner_user):

Hello! How can I help you today? Do you need assistance with a coding project or reasoning about a certain topic? Please provide me with some details so I can suggest the appropriate steps to accomplish the task.

--------------------------------------------------------------------------------
'Hello! How can I help you today? Do you need assistance with a coding project or reasoning about a certain topic? Please provide me with some details so I can suggest the appropriate steps to accomplish the task.'
  1. i got the following error when i tried to run
user_proxy.initiate_chat(
    assistant,
    message="""what is 1+1""",
)

InvalidRequestError: The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.
if i remove the llm_config['functions'] then the problem goes away; however, that prevents me to connecting the agents
do you know what could be causing this problem? and how i can resolve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions