I am using below example with gpt-4o but it always give me following error:
raise self._make_status_error_from_response(err.response) from None openai.BadRequestError: Error code: 400 - {‘validationMessages’: [{‘key’: ‘messages[0].Role’, ‘messages’: [‘Role has to be either system user or assistant’]}] input
Hey @abhi, thanks for reaching out and supporting Agno. I’ve shared this with the team, we’re working through all requests one by one and will get back to you soon.If it’s urgent, please let us know. We appreciate your patience!