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
{{ message }}
This repository was archived by the owner on May 13, 2026. It is now read-only.
@@ -332,7 +332,7 @@ Prior conversation history and tool progress.
332
332
333
333
```json
334
334
{
335
-
"prompt": "<|begin▁of▁sentence|><|System|>原 system / developer\n\nYou have access to these tools: ...<|end▁of▁instructions|><|User|>The current request and prior conversation context have already been provided. Answer the latest user request directly.<|Assistant|>",
335
+
"prompt": "<|begin▁of▁sentence|><|System|>原 system / developer\n\nYou have access to these tools: ...<|end▁of▁instructions|><|User|>Continue from the latest state in the attached DS2API_HISTORY.txt context. Treat it as the current working state and answer the latest user request directly.<|Assistant|>",
return"The current request and prior conversation context have already been provided. Answer the latest user request directly."
90
+
return"Continue from the latest state in the attached DS2API_HISTORY.txt context. Treat it as the current working state and answer the latest user request directly."
t.Fatalf("expected full context file to contain %q, got %q", want, uploadedText)
407
407
}
408
408
}
409
-
ifstrings.Contains(out.FinalPrompt, "first user turn") ||strings.Contains(out.FinalPrompt, "latest user turn") ||strings.Contains(out.FinalPrompt, "CURRENT_USER_INPUT.txt") ||strings.Contains(out.FinalPrompt, "DS2API_HISTORY.txt") ||strings.Contains(out.FinalPrompt, "DS2API_HISTORY.txt") ||strings.Contains(out.FinalPrompt, "Read that file") {
410
-
t.Fatalf("expected live prompt to use only a neutral continuation instruction, got %s", out.FinalPrompt)
409
+
ifstrings.Contains(out.FinalPrompt, "first user turn") ||strings.Contains(out.FinalPrompt, "latest user turn") ||strings.Contains(out.FinalPrompt, "CURRENT_USER_INPUT.txt") ||strings.Contains(out.FinalPrompt, "Read that file") {
410
+
t.Fatalf("expected live prompt to use only a continuation instruction, got %s", out.FinalPrompt)
411
411
}
412
-
if!strings.Contains(out.FinalPrompt, "Answer the latest user request directly.") {
413
-
t.Fatalf("expected neutral continuation instruction in live prompt, got %s", out.FinalPrompt)
412
+
if!strings.Contains(out.FinalPrompt, "Continue from the latest state in the attached DS2API_HISTORY.txt context.") {
413
+
t.Fatalf("expected continuation-oriented prompt in live prompt, got %s", out.FinalPrompt)
if!strings.Contains(promptText, "Answer the latest user request directly.") ||strings.Contains(promptText, "first user turn") ||strings.Contains(promptText, "latest user turn") {
709
+
if!strings.Contains(promptText, "Continue from the latest state in the attached DS2API_HISTORY.txt context.") ||strings.Contains(promptText, "first user turn") ||strings.Contains(promptText, "latest user turn") {
710
710
t.Fatalf("unexpected prompt for mode=%s: %s", mode, promptText)
constCURRENT_INPUT_FILE_PROMPT='The current request and prior conversation context have already been provided. Answer the latest user request directly.'
19
+
constCURRENT_INPUT_FILE_PROMPT='Continue from the latest state in the attached DS2API_HISTORY.txt context. Treat it as the current working state and answer the latest user request directly.'
20
+
constLEGACY_CURRENT_INPUT_FILE_PROMPTS=newSet([
21
+
'The current request and prior conversation context have already been provided. Answer the latest user request directly.',
0 commit comments