@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.js CHANGED
@@ -14100,7 +14100,8 @@ var ZhipuChatLanguageModel = class {
14100
14100
  // messages:
14101
14101
  messages: convertToZhipuChatMessages(prompt),
14102
14102
  // tools:
14103
- tool_choice: toolChoice != null ? toolChoice : "auto",
14103
+ // tool_choice: toolChoice ?? "auto",
14104
+ tool_choice: "auto",
14104
14105
  tools: (_b = tools == null ? void 0 : tools.filter((tool) => tool.type === "function").map((tool) => {
14105
14106
  var _a4;
14106
14107
  return {