-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autogen package should be autogen-agentchat #5
Comments
I have updated the repo with library. However, I still get an issue I cannot solve. I get that error after a couple round between the agents (I didn't have that issue before): BadRequestError: Error code: 400 - {'error': {'message': "'$.messages[5].content' is invalid. Please check the API reference: https://platform.openai.com/docs/api-reference.", 'type': 'invalid_request_error', 'param': None, 'code': None}} This error happens towards the Message 7 using this command: # See messages in the groupchat
print("Current messages in the groupchat:")
for idx, msg in enumerate(manager.groupchat.messages):
print(f"Message {idx}: {msg}") |
Can you print out the messages from the group chat? I believe this is likely due to an empty or None message, or a message that contains a Python object. |
Here are the messages (I truncated Message 2 as it was too long): Current messages in the groupchat: |
Please update the autogen package to
autogen-agentchat~=0.2
, see our clarification regarding to a recent fork: microsoft/autogen#4217The text was updated successfully, but these errors were encountered: