Max step count is 20 for toolcalls (#1464)
getting user feedback that the max of 3 is not enough and it's ending abruptly
This commit is contained in:
@@ -777,7 +777,7 @@ This conversation includes one or more image attachments. When the user uploads
|
|||||||
temperature: await getTemperature(settings.selectedModel),
|
temperature: await getTemperature(settings.selectedModel),
|
||||||
maxRetries: 2,
|
maxRetries: 2,
|
||||||
model: modelClient.model,
|
model: modelClient.model,
|
||||||
stopWhen: [stepCountIs(3), hasToolCall("edit-code")],
|
stopWhen: [stepCountIs(20), hasToolCall("edit-code")],
|
||||||
providerOptions,
|
providerOptions,
|
||||||
system: systemPromptOverride,
|
system: systemPromptOverride,
|
||||||
tools,
|
tools,
|
||||||
|
|||||||
Reference in New Issue
Block a user