fix: increase tool call maxCount (#10642)

This commit is contained in:
SuYao 2025-10-11 14:21:18 +08:00 committed by GitHub
parent c8ab7180ba
commit 704339e835
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) {