@effect-agent/pr-review 0.1.0-beta.10 → 0.1.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -135,7 +135,7 @@ export const fileReviewerInstructions = makeFileReviewerInstructions();
135
135
  export const defaultFileReviewerPolicy = AgentPolicy.make({
136
136
  maxTurns: 8,
137
137
  maxToolCalls: MAX_FILE_REVIEW_TOOL_CALLS,
138
- maxDuration: "4 minutes",
138
+ maxDuration: "6 minutes",
139
139
  toolConcurrency: 2,
140
140
  tokenBudget: 200_000,
141
141
  // Bound one live prompt independently from cumulative usage. The engine
@@ -201,7 +201,7 @@ export const fileReviewPolicy = SubagentPolicy.make({
201
201
  maxConcurrency: 3,
202
202
  maxTurns: 8,
203
203
  maxToolCalls: MAX_FILE_REVIEW_TOOL_CALLS,
204
- maxDuration: "4 minutes",
204
+ maxDuration: "6 minutes",
205
205
  });
206
206
 
207
207
  const delegationDescription =
@@ -46,7 +46,10 @@ export const PROVIDER_EFFORT_RUNGS = {
46
46
  /** One OpenAI review model binding with the package's structured-output settings. */
47
47
  export const makeOpenAiReviewModel = (model?: string, effort?: EffortPosition) =>
48
48
  OpenAiLanguageModel.model(model ?? DEFAULT_MODEL.openai, {
49
- max_output_tokens: 8_000,
49
+ // OpenAI counts hidden reasoning tokens and visible answer tokens against
50
+ // this same ceiling. High-effort reviews can exhaust an 8k allowance
51
+ // after reading every file but before emitting their structured report.
52
+ max_output_tokens: 32_000,
50
53
  store: false,
51
54
  strictJsonSchema: true,
52
55
  ...(effort === undefined