@wu529778790/open-im 1.7.1-beta.10 → 1.7.1-beta.11
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.
- package/dist/shared/ai-task.js +2 -2
- package/package.json +1 -1
package/dist/shared/ai-task.js
CHANGED
|
@@ -228,8 +228,8 @@ export function runAITask(deps, ctx, prompt, toolAdapter, platformAdapter) {
|
|
|
228
228
|
timeoutMs,
|
|
229
229
|
model: sessionManager.getModel(ctx.userId, ctx.threadId) ?? config.claudeModel,
|
|
230
230
|
chatId: ctx.chatId,
|
|
231
|
-
//
|
|
232
|
-
|
|
231
|
+
// 默认跳过权限确认,保持全自动执行
|
|
232
|
+
skipPermissions: true,
|
|
233
233
|
...(aiCommand === 'codex' && config.codexProxy ? { proxy: config.codexProxy } : {}),
|
|
234
234
|
});
|
|
235
235
|
return activeHandle;
|