-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Investigation into logs reveals an error from the Continuum provider:
Provider continuum returned status 400 Bad Request: {"error":{"message":"Conversation roles must alternate user/assistant/user/assistant/... Conversation roles must alternate user/assistant/user/assistant/...","type":"BadRequestError","param":null,"code":400}}
Context:
- Occurred in
opensecret::web::openai. - Model:
gemma-3-27b. - Timestamp:
2025-11-22T19:44:57.126061Z.
Possible causes:
src/web/responses/handlers.rsorbuild_promptlogic constructing invalid message history.- Consecutive messages from the same role being sent to a model that enforces strict alternation.
We should investigate build_prompt and ensure message history complies with provider requirements.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels