@wuzhiguocarter/zhipu-ai-provider 0.2.2 → 0.2.3

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/dist/index.mjs CHANGED
@@ -14093,7 +14093,8 @@ var ZhipuChatLanguageModel = class {
14093
14093
  // messages:
14094
14094
  messages: convertToZhipuChatMessages(prompt),
14095
14095
  // tools:
14096
- tool_choice: toolChoice != null ? toolChoice : "auto",
14096
+ // tool_choice: toolChoice ?? "auto",
14097
+ tool_choice: "auto",
14097
14098
  tools: (_b = tools == null ? void 0 : tools.filter((tool) => tool.type === "function").map((tool) => {
14098
14099
  var _a4;
14099
14100
  return {