feat: add effort support for opencode

This commit is contained in:
Haileyesus
2026-07-01 23:32:13 +03:00
parent 85e8facfbb
commit 7785763c14
7 changed files with 268 additions and 6 deletions

View File

@@ -1004,7 +1004,8 @@ router.post('/', validateExternalApiKey, async (req, res) => {
projectPath: finalProjectPath,
cwd: finalProjectPath,
sessionId: sessionId || null,
model: model || opencodeModels.DEFAULT
model: model || opencodeModels.DEFAULT,
effort
}, writer);
}