Is it intentional that the summary prompt doesn't include the user's prompt? #3140
Unanswered
seiya-koji
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
buildSummaryPrompt()builds the summary prompt from
last_assistant_messageonly —session.user_promptis passed in by both providers but never referenced.Is that intentional (token budget?), or just how it ended up?
The side effect: the observer fills in the
<request>field ("what the userasked for") without ever seeing the user's words, so it reconstructs them from
the assistant's reply — which tends to paraphrase intent into stronger mandates
(e.g. "investigate the bug" becomes "fix the bug"). Those summaries are then
injected into future sessions as context.
All reactions