-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Closed
Description
Describe the issue
I was following the agentchat_groupchat_RAG.ipynb https://github.com/microsoft/autogen/blob/main/notebook/agentchat_groupchat_RAG.ipynb
When I was using call_rag_chat, sometimes the agent will refuse to execute the code and terminate the conversation, but sometimes works fine. If I remove the retrieve_content part in call_rag_chat, then all the code will be executed by agents without any problem.
- If I only listed user in register_for_execution, I will have the execution code problem occationally
- if I listed user and other assistant agents in register_for_execution, I will have the error "openai.BadRequestError: Error code: 400 - {'error': {'message': "None is not of type 'object' - 'messages.2.function_call'", 'type': 'invalid_request_error', 'param': None, 'code': None}}" occationally
Does anyone have any clue, or is it a bug?
Steps to reproduce
No response
Screenshots and logs
This is what I mean by "refuse to execute the code and terminate the conversation"
Additional Information
No response
Metadata
Metadata
Assignees
Labels
No labels