codex-review-mcp 2.0.0 → 2.0.1
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.
@@ -44,7 +44,9 @@ export async function invokeAgent({ prompt, maxTokens, workspaceDir }) {
|
|
44
44
|
tools: [readFileTool],
|
45
45
|
});
|
46
46
|
try {
|
47
|
-
const result = await run(agent, prompt
|
47
|
+
const result = await run(agent, prompt, {
|
48
|
+
maxTurns: 25, // Allow more turns for file reading (default is 10)
|
49
|
+
});
|
48
50
|
const out = result.finalOutput ?? '';
|
49
51
|
await debugLog(`Agent model=${model} outputLen=${out.length}`);
|
50
52
|
return out;
|