Unverified 提交 390d20ae authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Max step count is 20 for toolcalls (#1464)

getting user feedback that the max of 3 is not enough and it's ending abruptly
上级 d83f5fec
......@@ -777,7 +777,7 @@ This conversation includes one or more image attachments. When the user uploads
temperature: await getTemperature(settings.selectedModel),
maxRetries: 2,
model: modelClient.model,
stopWhen: [stepCountIs(3), hasToolCall("edit-code")],
stopWhen: [stepCountIs(20), hasToolCall("edit-code")],
providerOptions,
system: systemPromptOverride,
tools,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论