Skip to content

Commit 6f29662

Browse files
abossardCopilot
andcommitted
fix: prompt improvement skips output format (handled by schema)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent eeb8e59 commit 6f29662

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

backend/agent_builder/service.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ def _build_improve_prompt_request(
7575
"2. State the goal in one sentence.\n"
7676
"3. List concrete steps the agent should follow (numbered).\n"
7777
"4. Reference specific tool names the agent should use and when.\n"
78-
"5. Define the expected output format clearly.\n"
79-
"6. Add constraints: what NOT to do, edge cases to handle.\n"
80-
"7. Keep it concise — reasoning models work best with clear, direct instructions.\n"
81-
"8. Use structured sections (##) for readability.\n\n"
78+
"5. Add constraints: what NOT to do, edge cases to handle.\n"
79+
"6. Keep it concise — reasoning models work best with clear, direct instructions.\n"
80+
"7. Do NOT define output format — that is handled separately by the system.\n"
81+
"8. Focus on the reasoning process, not the presentation.\n\n"
8282
"Return ONLY the improved prompt text. No wrapping, no explanation, no markdown fences."
8383
)
8484

0 commit comments

Comments
 (0)