From 704339e835ea80a60f36c8be3bde4a4caaf72849 Mon Sep 17 00:00:00 2001 From: SuYao Date: Sat, 11 Oct 2025 14:21:18 +0800 Subject: [PATCH] fix: increase tool call maxCount (#10642) --- src/renderer/src/aiCore/prepareParams/parameterBuilder.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/aiCore/prepareParams/parameterBuilder.ts b/src/renderer/src/aiCore/prepareParams/parameterBuilder.ts index e4d7aff615..35986b493e 100644 --- a/src/renderer/src/aiCore/prepareParams/parameterBuilder.ts +++ b/src/renderer/src/aiCore/prepareParams/parameterBuilder.ts @@ -160,7 +160,7 @@ export async function buildStreamTextParams( abortSignal: options.requestOptions?.signal, headers: options.requestOptions?.headers, providerOptions, - stopWhen: stepCountIs(10), + stopWhen: stepCountIs(20), maxRetries: 0 } if (tools) {