@flutchai/flutch-sdk 0.1.17 → 0.1.18

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
@@ -13,6 +13,7 @@ import * as LangGraph from '@langchain/langgraph';
13
13
  import { DynamicStructuredTool } from '@langchain/core/tools';
14
14
  import { z } from 'zod';
15
15
  import axios2 from 'axios';
16
+ import { zodToJsonSchema } from 'zod-to-json-schema';
16
17
  import { parseCallbackConfigArg, CallbackManager } from '@langchain/core/callbacks/manager';
17
18
  import { ChatOpenAI, OpenAIEmbeddings } from '@langchain/openai';
18
19
  import { AzureChatOpenAI } from '@langchain/azure-openai';
@@ -5461,7 +5462,6 @@ ${paramDescriptions.join("\n")}`;
5461
5462
  }
5462
5463
  }
5463
5464
  try {
5464
- const { zodToJsonSchema } = __require("zod-to-json-schema");
5465
5465
  const convertedJsonSchema = zodToJsonSchema(schema);
5466
5466
  logger2.warn(
5467
5467
  `\u{1F527} [${mcpTool.name}] JSON Schema that LangChain will use:`,