You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running generation using dotprompt and the Anthropic plugin, I get the error: roles must alternate between "user" and "assistant", but found multiple "user" roles in a row.
Same code works fine when running with OpenAI plugin or Gemini models.
To Reproduce
Run generation with Claude models.
Expected behavior
Generation should succeed
Screenshots
Plugin(s) version:
0.10.1
Genkit version:
0.5.13
The text was updated successfully, but these errors were encountered:
Hey @nechmads can you share an example prompt and/or code. I think I see what you are likely running into - but want to verify. Vertex AI also supports Anthropic, so I'd like to verify it in both places if possible.
Affected plugin(s)
Describe the bug
When running generation using dotprompt and the Anthropic plugin, I get the error: roles must alternate between "user" and "assistant", but found multiple "user" roles in a row.
Same code works fine when running with OpenAI plugin or Gemini models.
To Reproduce
Run generation with Claude models.
Expected behavior
Generation should succeed
Screenshots
Plugin(s) version:
0.10.1
Genkit version:
0.5.13
The text was updated successfully, but these errors were encountered: