foliko 1.0.70 → 1.0.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foliko",
3
- "version": "1.0.70",
3
+ "version": "1.0.71",
4
4
  "description": "简约的插件化 Agent 框架",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -381,6 +381,7 @@ ${resultStr.substring(0, 8000)}${resultStr.length > 8000 ? '\n...(内容已截
381
381
  instructions: this._systemPrompt,
382
382
  tools: tools,
383
383
  maxOutputTokens: options.maxOutputTokens || 5000,
384
+ toolChoice:'auto',
384
385
  stopWhen: (step) => step.stepCount >= maxSteps
385
386
  })
386
387