mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-04 20:00:00 +08:00
fix: increase tool call maxCount (#10642)
This commit is contained in:
parent
c8ab7180ba
commit
704339e835
@ -160,7 +160,7 @@ export async function buildStreamTextParams(
|
|||||||
abortSignal: options.requestOptions?.signal,
|
abortSignal: options.requestOptions?.signal,
|
||||||
headers: options.requestOptions?.headers,
|
headers: options.requestOptions?.headers,
|
||||||
providerOptions,
|
providerOptions,
|
||||||
stopWhen: stepCountIs(10),
|
stopWhen: stepCountIs(20),
|
||||||
maxRetries: 0
|
maxRetries: 0
|
||||||
}
|
}
|
||||||
if (tools) {
|
if (tools) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user