From 2a945ddbf58812861067dc5031dd65f38dee487e Mon Sep 17 00:00:00 2001 From: justsisyphus Date: Sat, 24 Jan 2026 15:49:35 +0900 Subject: [PATCH] fix(background-task): pass config to BackgroundManager for concurrency limits The background_task config (providerConcurrency, modelConcurrency, etc.) was not being passed to BackgroundManager, causing all models to use the hardcoded default limit of 5 instead of user-configured values. --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index cc4b9fef..d38a76ac 100644 --- a/src/index.ts +++ b/src/index.ts @@ -205,7 +205,7 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => { const taskResumeInfo = createTaskResumeInfoHook(); - const backgroundManager = new BackgroundManager(ctx); + const backgroundManager = new BackgroundManager(ctx, pluginConfig.background_task); const atlasHook = isHookEnabled("atlas") ? createAtlasHook(ctx, { directory: ctx.directory, backgroundManager })