@langchain/core
Version:
Core LangChain.js abstractions and schemas
1 lines • 898 B
Source Map (JSON)
{"version":3,"file":"utils.d.ts","names":["ToolCall","_isToolCall","_configHasToolCallId","ToolInputParsingException","Error"],"sources":["../../src/tools/utils.d.ts"],"sourcesContent":["import { ToolCall } from \"../messages/tool.js\";\nexport declare function _isToolCall(toolCall?: unknown): toolCall is ToolCall;\nexport declare function _configHasToolCallId(config?: unknown): config is {\n toolCall: {\n id?: string;\n };\n};\n/**\n * Custom error class used to handle exceptions related to tool input parsing.\n * It extends the built-in `Error` class and adds an optional `output`\n * property that can hold the output that caused the exception.\n */\nexport declare class ToolInputParsingException extends Error {\n output?: string;\n constructor(message: string, output?: string);\n}\n//# sourceMappingURL=utils.d.ts.map"],"mappings":";;;;;;;cAYqBG,yBAAAA,SAAkCC,KAAK"}