@hiper2d/ai-agents 0.31.0 → 0.31.1

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
@@ -3975,9 +3975,8 @@ ${updatedMessages[0].content}`
3975
3975
  * New method using Zod with DeepSeek API
3976
3976
  * This provides better schema handling and runtime validation
3977
3977
  *
3978
- * DeepSeek V4 uses thinking toggle via extra_body. JSON mode (response_format
3979
- * json_object) is supported with or without thinking, so we always request it.
3980
- * Thinking additionally surfaces reasoning via reasoning_content.
3978
+ * DeepSeek V4 uses thinking toggle via extra_body; reasoning comes back in
3979
+ * reasoning_content. No JSON mode (response_format json_object), see below.
3981
3980
  */
3982
3981
  async doAskWithZodSchema(zodSchema, messages) {
3983
3982
  try {
@@ -4003,9 +4002,6 @@ ${schemaDescription}`
4003
4002
  };
4004
4003
  requestParams.messages = this.addSystemInstruction(modifiedInput);
4005
4004
  }
4006
- requestParams.response_format = {
4007
- type: "json_object"
4008
- };
4009
4005
  Object.assign(requestParams, this.thinkingParams());
4010
4006
  let response;
4011
4007
  try {