Selaa lähdekoodia

fix(core): preserve imperative statements in summary

Adam 2 kuukautta sitten
vanhempi
sitoutus
98fd53fd5f
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      packages/opencode/src/agent/prompt/summary.txt

+ 2 - 1
packages/opencode/src/agent/prompt/summary.txt

@@ -7,4 +7,5 @@ Rules:
 - Do not explain what the user asked for
 - Write in first person (I added..., I fixed...)
 - Never ask questions or add new questions
-- Only exception: if the conversation ends with an unanswered question to the user, preserve that exact question
+- If the conversation ends with an unanswered question to the user, preserve that exact question
+- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary