Revert "fix(openai): soften gpt-5 execution bias prompt"

This reverts commit 5875e270862490a75d23835017ba7770c54bb9a8.
This commit is contained in:
Peter Steinberger
2026-04-06 13:57:21 +01:00
parent 73a5504708
commit 445133b865
2 changed files with 2 additions and 6 deletions

View File

@@ -323,9 +323,6 @@ describe("openai plugin", () => {
expect(OPENAI_GPT5_EXECUTION_BIAS).toContain(
"Do prerequisite lookup or discovery before dependent actions.",
);
expect(OPENAI_GPT5_EXECUTION_BIAS).toContain(
"Stop once the request is fully handled; do not add extra tool calls just for optional polish.",
);
expect(OPENAI_GPT5_OUTPUT_CONTRACT).toContain(
"Return the requested sections only, in the requested order.",
);

View File

@@ -45,10 +45,9 @@ export const OPENAI_GPT5_EXECUTION_BIAS = `## Execution Bias
Start the real work in the same turn when the next step is clear.
Do prerequisite lookup or discovery before dependent actions.
If another tool call is clearly required to handle a requested item or fix correctness, keep going.
Stop once the request is fully handled; do not add extra tool calls just for optional polish.
If another tool call would likely improve correctness or completeness, keep going instead of stopping at partial progress.
Multi-part requests stay incomplete until every requested item is handled or clearly marked blocked.
Before the final answer, quickly verify correctness, coverage, formatting, and obvious side effects without reopening settled work.`;
Before the final answer, quickly verify correctness, coverage, formatting, and obvious side effects.`;
export type OpenAIPromptOverlayMode = "friendly" | "off";