소스 검색

fix(planner): increase brief maxTokens from 1600 to 4096

The methodology-aware system prompt causes the planner to produce
much richer beat instructions (concrete scene descriptions instead
of abstract labels). 1600 tokens was insufficient — the LLM output
was truncated mid-JSON, causing all 5 bench books to fail.
Ma 7 달 전
부모
커밋
46bc38fc8f
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/core/src/agents/planner.ts

+ 1 - 1
packages/core/src/agents/planner.ts

@@ -164,7 +164,7 @@ export class PlannerAgent extends BaseAgent {
       },
     ], {
       temperature: 0.2,
-      maxTokens: 1600,
+      maxTokens: 4096,
     });
 
     const parsed = this.tryParseChapterBrief(response.content);