Commit fa91915
committed
fix: clarify semantic question prompts to output only structured JSON
Changed final answer instructions from
'When you have enough evidence (STRUCTURED OUTPUT):'
to 'When you have enough evidence, respond with ONLY this JSON (no reasoning, tool_call, or is_final fields):'
Prevents LLM from outputting both wrapper format and structured format.
Applied consistently across all 4 tiers (TERSE, BALANCED, DETAILED, EXPLORATORY).
Expected output:
{"analysis": "...", "evidence": [...], "related_components": [...], "confidence": 0.95}
Not:
{"reasoning": "...", "is_final": true}
{"analysis": "...", ...}1 parent 048b91d commit fa91915
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
| |||
0 commit comments