We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you submit a prompt like this to Gemini Pro:
{ contents: [ { role: "user", ...} { role: "user", ....} ] }
The API will respond that the last message must come from user.
This occurred when I was translating my GPT role: "system" messages to be role: "user". (But GPT also doesn't reject multiple user messages in a row)
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description of the bug:
If you submit a prompt like this to Gemini Pro:
The API will respond that the last message must come from user.
This occurred when I was translating my GPT role: "system" messages to be role: "user". (But GPT also doesn't reject multiple user messages in a row)
Actual vs expected behavior:
Any other information you'd like to share?
No response
The text was updated successfully, but these errors were encountered: