Skip to content
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

error, status code: 400, message: '' is not one of ['system', 'assistant', 'user', 'function'] - 'messages.0.role' #679

Open
miaojinsing opened this issue Mar 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@miaojinsing
Copy link

Your issue may already be reported!
Please search on the issue tracker before creating one.

Describe the bug
A clear and concise description of what the bug is. If it's an API-related bug, please provide relevant endpoint(s).

To Reproduce
Steps to reproduce the behavior, including any relevant code snippets.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots/Logs
If applicable, add screenshots to help explain your problem. For non-graphical issues, please provide any relevant logs or stack traces.

Environment (please complete the following information):

  • go-openai version: [e.g. v1.12.0]
  • Go version: [e.g. 1.18]
  • OpenAI API version: [e.g. v1]
  • OS: [e.g. Ubuntu 20.04]

Additional context
Add any other context about the problem here.

@miaojinsing miaojinsing added the bug Something isn't working label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant