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
I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
Please do not modify this template :) and fill in all the required fields.
Content
Question
I'm looking for official clarification on the intended design and correct usage of the three message roles (System, User, Assistant) in the Advanced Prompt editing mode.
Background
After analyzing the codebase, I've observed that:
In base_app_runner.py, the AssistantPromptMessage is exclusively used to wrap the LLM's generated output
In simple_prompt_transform.py, there's no handling for Assistant role messages at all
In advanced_prompt_transform.py, while Assistant role messages are processed, they seem to be treated as historical conversation turns
What I'd Like to Confirm
Is it intended that users should NOT write prompts, instructions, or guidelines in the Assistant role?
Is the Assistant role specifically designed to store only AI-generated responses, not user-provided instructions?
What is the correct way to provide system instructions, guidelines, or few-shot examples in Advanced mode?
Additional Context
I've noticed that when users write prompts in the Assistant role, it often leads to:
The LLM responding to the prompt itself rather than the user's actual query
Role confusion where the AI mixes up questioner and responder identities
Broken conversation history structure when memory is enabled
I want to document the correct best practices for our team and would appreciate official guidance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
Question
I'm looking for official clarification on the intended design and correct usage of the three message roles (System, User, Assistant) in the Advanced Prompt editing mode.
Background
After analyzing the codebase, I've observed that:
base_app_runner.py, theAssistantPromptMessageis exclusively used to wrap the LLM's generated outputsimple_prompt_transform.py, there's no handling for Assistant role messages at alladvanced_prompt_transform.py, while Assistant role messages are processed, they seem to be treated as historical conversation turnsWhat I'd Like to Confirm
Additional Context
I've noticed that when users write prompts in the Assistant role, it often leads to:
I want to document the correct best practices for our team and would appreciate official guidance.
Thank you for your time and clarification!
Beta Was this translation helpful? Give feedback.
All reactions