diff --git a/src/features/background-agent/concurrency.ts b/src/features/background-agent/concurrency.ts index 6f421489..1475fc53 100644 --- a/src/features/background-agent/concurrency.ts +++ b/src/features/background-agent/concurrency.ts @@ -17,7 +17,7 @@ export class ConcurrencyManager { if (this.config?.providerConcurrency?.[provider]) { return this.config.providerConcurrency[provider] } - return this.config?.defaultConcurrency ?? Infinity + return this.config?.defaultConcurrency ?? 5 } async acquire(model: string): Promise {