-
Notifications
You must be signed in to change notification settings - Fork 651
Labels
Description
Describe the bug
When the Genkit renders the dotprompt prompt, it always uses the "user" role and ignores the dotprompt-defined roles.
To Reproduce
Use the PromptWithMultiMessage from go/samples/prompts to reproduce.
Expected behavior
The dotprompt-defined roles are retained.
Screenshots
The following screenshot of debugging the go/samples/prompts sample shows that the system prompt You are a great pirate and an AI assistant. has been added as a user message after rendering.
Runtime (please complete the following information):
- OS: MacOS
- Version 26
Go version
go version go1.25.2 darwin/arm64Additional context
Relates to #3710
charly3pins, kashmirtheone, pedro-bento, nm-cyb, pano-skylakis and 1 more
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done