-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Python: AzureChatCompletion service fails with "Missing required parameter" error #10317
Comments
Are you able to turn on debug logging and get the payload you're sending before the 400 occurs? |
Unfortunately, I wasn't able to debug the logging because all events occur within the |
You can add this to your script that instantiates the group chat: import logging
logging.basicConfig(level=logging.DEBUG) Please be careful to replace any PII (resource names? endpoints?) so you don't communicate personal data/info. |
Thanks. I thought I had to manage background debugging, but this process revealed everything happening under the hood. I believe the user message arrives and is managed without any issue; however, problems start after the chat bounces to the critic. Unfortunately, I still couldn't figure out what the main problem is. P.S.: As soon as I substitute the
|
Thanks for your response. Looks like it has to do with:
We currently allow adding Let me look into this further. |
That's right @moonbox3 I insert the titanic.csv dataset with a request for basic intro to the dataset with some visual aids. Then, agent covers everything and returns the charts. In this scenario, the critic should provide some feedback on the response considering the task from the user. The context is simple by design for sure but my intention is to observe the communication between a |
Description
When running a group chat between a critic (
ChatCompletionAgent
) and a data scientist (AzureAssistantAgent
), theAzureChatCompletion
service fails with a "Missing required parameter" error.Error Message
Relevant Code
Steps to Reproduce
Expected Behavior
Actual Behavior
AzureChatCompletion
service fails with a "Missing required parameter" error, specifically mentioning 'messages[5].content[0].type'. I believe the error occurs during internal group chat conversations when the turn is held by thecritic
.The text was updated successfully, but these errors were encountered: