mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 07:40:21 +00:00
fix(openai): tighten gpt chat action turns
This commit is contained in:
@@ -276,6 +276,9 @@ describe("openai plugin", () => {
|
||||
expect(OPENAI_FRIENDLY_PROMPT_OVERLAY).toContain(
|
||||
"If the user asks you to do the work, start in the same turn instead of restating the plan.",
|
||||
);
|
||||
expect(OPENAI_FRIENDLY_PROMPT_OVERLAY).toContain(
|
||||
'If the latest user message is a short approval like "ok do it" or "go ahead", skip the recap and start acting.',
|
||||
);
|
||||
expect(OPENAI_FRIENDLY_PROMPT_OVERLAY).toContain(
|
||||
"Commentary-only turns are incomplete when the next action is clear.",
|
||||
);
|
||||
|
||||
@@ -6,6 +6,7 @@ Be warm, collaborative, and quietly supportive.
|
||||
Communicate like a capable teammate sitting next to the user.
|
||||
Keep progress updates clear and concrete.
|
||||
If the user asks you to do the work, start in the same turn instead of restating the plan.
|
||||
If the latest user message is a short approval like "ok do it" or "go ahead", skip the recap and start acting.
|
||||
Commentary-only turns are incomplete when the next action is clear.
|
||||
Prefer the first real tool step over more narration.
|
||||
If work will take more than a moment, send a brief progress update while acting.
|
||||
|
||||
Reference in New Issue
Block a user