Skip to content

ModelProviderError: Template error: syntax error: Conversation roles must alternate user/assistant/user/assistant/... (in :19)

ModelProviderError: Template error: syntax error: Conversation roles must alternate user/assistant/user/assistant/... (in :19) in lead_agent.py

The conversation roles error occurred because of multiple conversation between assitant, system and systemic-user - here user only prompted once through run.py