Skip to content

The open source coding agent.

TypeScript

increase max retries to 10

Dax Raad2528d8cb881c
diff --git a/packages/opencode/src/session/index.ts b/packages/opencode/src/session/index.ts
index 71e894f8a44..b07dc31c66c 100644
--- a/packages/opencode/src/session/index.ts
+++ b/packages/opencode/src/session/index.ts
@@ -583,6 +583,7 @@ export namespace Session {
// return step
// },
toolCallStreaming: true,
+ maxRetries: 10,
maxTokens: Math.max(0, model.info.limit.output) || undefined,
abortSignal: abort.signal,
maxSteps: 1000,