@illuma-ai/agents 1.1.21 → 1.1.23

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.
Files changed (244) hide show
  1. package/dist/cjs/graphs/Graph.cjs +12 -1
  2. package/dist/cjs/graphs/Graph.cjs.map +1 -1
  3. package/dist/cjs/graphs/MultiAgentGraph.cjs +105 -1
  4. package/dist/cjs/graphs/MultiAgentGraph.cjs.map +1 -1
  5. package/dist/cjs/run.cjs +20 -9
  6. package/dist/cjs/run.cjs.map +1 -1
  7. package/dist/cjs/utils/llm.cjs.map +1 -1
  8. package/dist/esm/graphs/Graph.mjs +12 -1
  9. package/dist/esm/graphs/Graph.mjs.map +1 -1
  10. package/dist/esm/graphs/MultiAgentGraph.mjs +105 -1
  11. package/dist/esm/graphs/MultiAgentGraph.mjs.map +1 -1
  12. package/dist/esm/run.mjs +20 -9
  13. package/dist/esm/run.mjs.map +1 -1
  14. package/dist/esm/utils/llm.mjs.map +1 -1
  15. package/dist/types/graphs/MultiAgentGraph.d.ts +17 -0
  16. package/package.json +1 -1
  17. package/src/graphs/Graph.ts +13 -1
  18. package/src/graphs/MultiAgentGraph.ts +128 -1
  19. package/src/graphs/__tests__/multi-agent-delegate.test.ts +205 -0
  20. package/src/run.ts +20 -11
  21. package/src/scripts/test-bedrock-handoff-autonomous.ts +231 -0
  22. package/src/utils/llm.ts +1 -0
  23. package/src/agents/AgentContext.js +0 -782
  24. package/src/agents/AgentContext.test.js +0 -421
  25. package/src/agents/__tests__/AgentContext.test.js +0 -678
  26. package/src/agents/__tests__/resolveStructuredOutputMode.test.js +0 -117
  27. package/src/common/enum.js +0 -192
  28. package/src/common/index.js +0 -3
  29. package/src/events.js +0 -166
  30. package/src/graphs/Graph.js +0 -1857
  31. package/src/graphs/MultiAgentGraph.js +0 -1092
  32. package/src/graphs/__tests__/structured-output.integration.test.js +0 -624
  33. package/src/graphs/__tests__/structured-output.test.js +0 -144
  34. package/src/graphs/contextManagement.e2e.test.js +0 -718
  35. package/src/graphs/contextManagement.test.js +0 -485
  36. package/src/graphs/handoffValidation.test.js +0 -276
  37. package/src/graphs/index.js +0 -3
  38. package/src/index.js +0 -28
  39. package/src/instrumentation.js +0 -21
  40. package/src/llm/anthropic/index.js +0 -319
  41. package/src/llm/anthropic/types.js +0 -46
  42. package/src/llm/anthropic/utils/message_inputs.js +0 -627
  43. package/src/llm/anthropic/utils/message_outputs.js +0 -290
  44. package/src/llm/anthropic/utils/output_parsers.js +0 -89
  45. package/src/llm/anthropic/utils/tools.js +0 -25
  46. package/src/llm/bedrock/__tests__/bedrock-caching.test.js +0 -392
  47. package/src/llm/bedrock/index.js +0 -303
  48. package/src/llm/bedrock/types.js +0 -2
  49. package/src/llm/bedrock/utils/index.js +0 -6
  50. package/src/llm/bedrock/utils/message_inputs.js +0 -463
  51. package/src/llm/bedrock/utils/message_outputs.js +0 -269
  52. package/src/llm/fake.js +0 -92
  53. package/src/llm/google/index.js +0 -215
  54. package/src/llm/google/types.js +0 -12
  55. package/src/llm/google/utils/common.js +0 -670
  56. package/src/llm/google/utils/tools.js +0 -111
  57. package/src/llm/google/utils/zod_to_genai_parameters.js +0 -47
  58. package/src/llm/openai/index.js +0 -1033
  59. package/src/llm/openai/types.js +0 -2
  60. package/src/llm/openai/utils/index.js +0 -756
  61. package/src/llm/openai/utils/isReasoningModel.test.js +0 -79
  62. package/src/llm/openrouter/index.js +0 -261
  63. package/src/llm/openrouter/reasoning.test.js +0 -181
  64. package/src/llm/providers.js +0 -36
  65. package/src/llm/text.js +0 -65
  66. package/src/llm/vertexai/index.js +0 -402
  67. package/src/messages/__tests__/tools.test.js +0 -392
  68. package/src/messages/cache.js +0 -404
  69. package/src/messages/cache.test.js +0 -1167
  70. package/src/messages/content.js +0 -48
  71. package/src/messages/content.test.js +0 -314
  72. package/src/messages/core.js +0 -359
  73. package/src/messages/ensureThinkingBlock.test.js +0 -997
  74. package/src/messages/format.js +0 -973
  75. package/src/messages/formatAgentMessages.test.js +0 -2278
  76. package/src/messages/formatAgentMessages.tools.test.js +0 -362
  77. package/src/messages/formatMessage.test.js +0 -608
  78. package/src/messages/ids.js +0 -18
  79. package/src/messages/index.js +0 -9
  80. package/src/messages/labelContentByAgent.test.js +0 -725
  81. package/src/messages/prune.js +0 -438
  82. package/src/messages/reducer.js +0 -60
  83. package/src/messages/shiftIndexTokenCountMap.test.js +0 -63
  84. package/src/messages/summarize.js +0 -146
  85. package/src/messages/summarize.test.js +0 -332
  86. package/src/messages/tools.js +0 -90
  87. package/src/mockStream.js +0 -81
  88. package/src/prompts/collab.js +0 -7
  89. package/src/prompts/index.js +0 -3
  90. package/src/prompts/taskmanager.js +0 -58
  91. package/src/run.js +0 -427
  92. package/src/schemas/index.js +0 -3
  93. package/src/schemas/schema-preparation.test.js +0 -370
  94. package/src/schemas/validate.js +0 -314
  95. package/src/schemas/validate.test.js +0 -264
  96. package/src/scripts/abort.js +0 -127
  97. package/src/scripts/ant_web_search.js +0 -130
  98. package/src/scripts/ant_web_search_edge_case.js +0 -133
  99. package/src/scripts/ant_web_search_error_edge_case.js +0 -119
  100. package/src/scripts/args.js +0 -41
  101. package/src/scripts/bedrock-cache-debug.js +0 -186
  102. package/src/scripts/bedrock-content-aggregation-test.js +0 -195
  103. package/src/scripts/bedrock-merge-test.js +0 -80
  104. package/src/scripts/bedrock-parallel-tools-test.js +0 -150
  105. package/src/scripts/caching.js +0 -106
  106. package/src/scripts/cli.js +0 -152
  107. package/src/scripts/cli2.js +0 -119
  108. package/src/scripts/cli3.js +0 -163
  109. package/src/scripts/cli4.js +0 -165
  110. package/src/scripts/cli5.js +0 -165
  111. package/src/scripts/code_exec.js +0 -171
  112. package/src/scripts/code_exec_files.js +0 -180
  113. package/src/scripts/code_exec_multi_session.js +0 -185
  114. package/src/scripts/code_exec_ptc.js +0 -265
  115. package/src/scripts/code_exec_session.js +0 -217
  116. package/src/scripts/code_exec_simple.js +0 -120
  117. package/src/scripts/content.js +0 -111
  118. package/src/scripts/empty_input.js +0 -125
  119. package/src/scripts/handoff-test.js +0 -96
  120. package/src/scripts/image.js +0 -138
  121. package/src/scripts/memory.js +0 -83
  122. package/src/scripts/multi-agent-chain.js +0 -271
  123. package/src/scripts/multi-agent-conditional.js +0 -185
  124. package/src/scripts/multi-agent-document-review-chain.js +0 -171
  125. package/src/scripts/multi-agent-hybrid-flow.js +0 -264
  126. package/src/scripts/multi-agent-parallel-start.js +0 -214
  127. package/src/scripts/multi-agent-parallel.js +0 -346
  128. package/src/scripts/multi-agent-sequence.js +0 -184
  129. package/src/scripts/multi-agent-supervisor.js +0 -324
  130. package/src/scripts/multi-agent-test.js +0 -147
  131. package/src/scripts/parallel-asymmetric-tools-test.js +0 -202
  132. package/src/scripts/parallel-full-metadata-test.js +0 -176
  133. package/src/scripts/parallel-tools-test.js +0 -256
  134. package/src/scripts/programmatic_exec.js +0 -277
  135. package/src/scripts/programmatic_exec_agent.js +0 -168
  136. package/src/scripts/search.js +0 -118
  137. package/src/scripts/sequential-full-metadata-test.js +0 -143
  138. package/src/scripts/simple.js +0 -174
  139. package/src/scripts/single-agent-metadata-test.js +0 -152
  140. package/src/scripts/stream.js +0 -113
  141. package/src/scripts/test-custom-prompt-key.js +0 -132
  142. package/src/scripts/test-handoff-input.js +0 -143
  143. package/src/scripts/test-handoff-preamble.js +0 -227
  144. package/src/scripts/test-handoff-steering.js +0 -353
  145. package/src/scripts/test-multi-agent-list-handoff.js +0 -318
  146. package/src/scripts/test-parallel-agent-labeling.js +0 -253
  147. package/src/scripts/test-parallel-handoffs.js +0 -229
  148. package/src/scripts/test-thinking-handoff-bedrock.js +0 -132
  149. package/src/scripts/test-thinking-handoff.js +0 -132
  150. package/src/scripts/test-thinking-to-thinking-handoff-bedrock.js +0 -140
  151. package/src/scripts/test-tool-before-handoff-role-order.js +0 -223
  152. package/src/scripts/test-tools-before-handoff.js +0 -187
  153. package/src/scripts/test_code_api.js +0 -263
  154. package/src/scripts/thinking-bedrock.js +0 -128
  155. package/src/scripts/thinking-vertexai.js +0 -130
  156. package/src/scripts/thinking.js +0 -134
  157. package/src/scripts/tool_search.js +0 -114
  158. package/src/scripts/tools.js +0 -125
  159. package/src/specs/agent-handoffs-bedrock.integration.test.js +0 -280
  160. package/src/specs/agent-handoffs.test.js +0 -924
  161. package/src/specs/anthropic.simple.test.js +0 -287
  162. package/src/specs/azure.simple.test.js +0 -381
  163. package/src/specs/cache.simple.test.js +0 -282
  164. package/src/specs/custom-event-await.test.js +0 -148
  165. package/src/specs/deepseek.simple.test.js +0 -189
  166. package/src/specs/emergency-prune.test.js +0 -308
  167. package/src/specs/moonshot.simple.test.js +0 -237
  168. package/src/specs/observability.integration.test.js +0 -1337
  169. package/src/specs/openai.simple.test.js +0 -233
  170. package/src/specs/openrouter.simple.test.js +0 -202
  171. package/src/specs/prune.test.js +0 -733
  172. package/src/specs/reasoning.test.js +0 -144
  173. package/src/specs/spec.utils.js +0 -4
  174. package/src/specs/thinking-handoff.test.js +0 -486
  175. package/src/specs/thinking-prune.test.js +0 -600
  176. package/src/specs/token-distribution-edge-case.test.js +0 -246
  177. package/src/specs/token-memoization.test.js +0 -32
  178. package/src/specs/tokens.test.js +0 -49
  179. package/src/specs/tool-error.test.js +0 -139
  180. package/src/splitStream.js +0 -204
  181. package/src/splitStream.test.js +0 -504
  182. package/src/stream.js +0 -650
  183. package/src/stream.test.js +0 -225
  184. package/src/test/mockTools.js +0 -340
  185. package/src/tools/BrowserTools.js +0 -245
  186. package/src/tools/Calculator.js +0 -38
  187. package/src/tools/Calculator.test.js +0 -225
  188. package/src/tools/CodeExecutor.js +0 -233
  189. package/src/tools/ProgrammaticToolCalling.js +0 -602
  190. package/src/tools/StreamingToolCallBuffer.js +0 -179
  191. package/src/tools/ToolNode.js +0 -930
  192. package/src/tools/ToolSearch.js +0 -904
  193. package/src/tools/__tests__/BrowserTools.test.js +0 -306
  194. package/src/tools/__tests__/ProgrammaticToolCalling.integration.test.js +0 -276
  195. package/src/tools/__tests__/ProgrammaticToolCalling.test.js +0 -807
  196. package/src/tools/__tests__/StreamingToolCallBuffer.test.js +0 -175
  197. package/src/tools/__tests__/ToolApproval.test.js +0 -675
  198. package/src/tools/__tests__/ToolNode.recovery.test.js +0 -200
  199. package/src/tools/__tests__/ToolNode.session.test.js +0 -319
  200. package/src/tools/__tests__/ToolSearch.integration.test.js +0 -125
  201. package/src/tools/__tests__/ToolSearch.test.js +0 -812
  202. package/src/tools/__tests__/handlers.test.js +0 -799
  203. package/src/tools/__tests__/truncation-recovery.integration.test.js +0 -362
  204. package/src/tools/handlers.js +0 -306
  205. package/src/tools/schema.js +0 -25
  206. package/src/tools/search/anthropic.js +0 -34
  207. package/src/tools/search/content.js +0 -116
  208. package/src/tools/search/content.test.js +0 -133
  209. package/src/tools/search/firecrawl.js +0 -173
  210. package/src/tools/search/format.js +0 -198
  211. package/src/tools/search/highlights.js +0 -241
  212. package/src/tools/search/index.js +0 -3
  213. package/src/tools/search/jina-reranker.test.js +0 -106
  214. package/src/tools/search/rerankers.js +0 -165
  215. package/src/tools/search/schema.js +0 -102
  216. package/src/tools/search/search.js +0 -561
  217. package/src/tools/search/serper-scraper.js +0 -126
  218. package/src/tools/search/test.js +0 -129
  219. package/src/tools/search/tool.js +0 -453
  220. package/src/tools/search/types.js +0 -2
  221. package/src/tools/search/utils.js +0 -59
  222. package/src/types/graph.js +0 -24
  223. package/src/types/graph.test.js +0 -192
  224. package/src/types/index.js +0 -7
  225. package/src/types/llm.js +0 -2
  226. package/src/types/messages.js +0 -2
  227. package/src/types/run.js +0 -2
  228. package/src/types/stream.js +0 -2
  229. package/src/types/tools.js +0 -2
  230. package/src/utils/contextAnalytics.js +0 -79
  231. package/src/utils/contextAnalytics.test.js +0 -166
  232. package/src/utils/events.js +0 -26
  233. package/src/utils/graph.js +0 -11
  234. package/src/utils/handlers.js +0 -65
  235. package/src/utils/index.js +0 -10
  236. package/src/utils/llm.js +0 -21
  237. package/src/utils/llmConfig.js +0 -205
  238. package/src/utils/logging.js +0 -37
  239. package/src/utils/misc.js +0 -51
  240. package/src/utils/run.js +0 -69
  241. package/src/utils/schema.js +0 -21
  242. package/src/utils/title.js +0 -119
  243. package/src/utils/tokens.js +0 -92
  244. package/src/utils/toonFormat.js +0 -379
@@ -1,233 +0,0 @@
1
- import { config } from 'dotenv';
2
- import fetch from 'node-fetch';
3
- import { HttpsProxyAgent } from 'https-proxy-agent';
4
- import { tool } from '@langchain/core/tools';
5
- import { getEnvironmentVariable } from '@langchain/core/utils/env';
6
- import { EnvVar, Constants } from '@/common';
7
- config();
8
- export const imageExtRegex = /\.(jpg|jpeg|png|gif|webp)$/i;
9
- export const getCodeBaseURL = () => getEnvironmentVariable(EnvVar.CODE_BASEURL) ??
10
- Constants.OFFICIAL_CODE_BASEURL;
11
- const imageMessage = 'Image is already displayed to the user';
12
- const otherMessage = 'File is already downloaded by the user';
13
- const accessMessage = 'Note: Files from previous executions are automatically available and can be modified.';
14
- const emptyOutputMessage = 'stdout: Empty. Ensure you\'re writing output explicitly.\n';
15
- const SUPPORTED_LANGUAGES = [
16
- 'py',
17
- 'js',
18
- 'ts',
19
- 'c',
20
- 'cpp',
21
- 'java',
22
- 'php',
23
- 'rs',
24
- 'go',
25
- 'd',
26
- 'f90',
27
- 'r',
28
- 'bash',
29
- ];
30
- export const CodeExecutionToolSchema = {
31
- type: 'object',
32
- properties: {
33
- lang: {
34
- type: 'string',
35
- enum: SUPPORTED_LANGUAGES,
36
- description: 'The programming language or runtime to execute the code in.',
37
- },
38
- code: {
39
- type: 'string',
40
- description: `The complete, self-contained code to execute, without any truncation or minimization.
41
- - The environment is stateless; variables and imports don't persist between executions.
42
- - Generated files from previous executions are automatically available in "/mnt/data/".
43
- - Files from previous executions are automatically available and can be modified in place.
44
- - Input code **IS ALREADY** displayed to the user, so **DO NOT** repeat it in your response unless asked.
45
- - Output code **IS NOT** displayed to the user, so **DO** write all desired output explicitly.
46
- - IMPORTANT: You MUST explicitly print/output ALL results you want the user to see.
47
- - py: This is not a Jupyter notebook environment. Use \`print()\` for all outputs.
48
- - py: Matplotlib: Use \`plt.savefig()\` to save plots as files.
49
- - js: use the \`console\` or \`process\` methods for all outputs.
50
- - r: IMPORTANT: No X11 display available. ALL graphics MUST use Cairo library (library(Cairo)).
51
- - Other languages: use appropriate output functions.`,
52
- },
53
- args: {
54
- type: 'array',
55
- items: { type: 'string' },
56
- description: 'Additional arguments to execute the code with. This should only be used if the input code requires additional arguments to run.',
57
- },
58
- },
59
- required: ['lang', 'code'],
60
- };
61
- export const CodeExecutionToolDescription = `
62
- Runs code and returns stdout/stderr output from a stateless execution environment, similar to running scripts in a command-line interface. Each execution is isolated and independent.
63
-
64
- Usage:
65
- - No network access available.
66
- - Generated files are automatically delivered; **DO NOT** provide download links.
67
- - NEVER use this tool to execute malicious code.
68
- `.trim();
69
- export const CodeExecutionToolName = Constants.EXECUTE_CODE;
70
- export const CodeExecutionToolDefinition = {
71
- name: CodeExecutionToolName,
72
- description: CodeExecutionToolDescription,
73
- schema: CodeExecutionToolSchema,
74
- };
75
- function createCodeExecutionTool(params = {}) {
76
- const apiKey = params[EnvVar.CODE_API_KEY] ??
77
- params.apiKey ??
78
- getEnvironmentVariable(EnvVar.CODE_API_KEY) ??
79
- '';
80
- if (!apiKey) {
81
- throw new Error('No API key provided for code execution tool.');
82
- }
83
- const description = `
84
- ⛔ STOP! Before using this tool, ask: "Does user need a DOWNLOADABLE FILE?"
85
- - If NO (dashboard, chart, visualization, UI) → DO NOT USE THIS TOOL. Use content_tool write instead.
86
- - If YES (.pptx, .docx, .pdf, .xlsx) → Use this tool.
87
-
88
- Runs code in a stateless execution environment. Each execution is isolated.
89
-
90
- 🚫 NEVER USE FOR:
91
- - Dashboards, charts, visualizations → Use content_tool write with React/Chart.js
92
- - "Mock data" or "sample data" for display → Hardcode data in content_tool write
93
- - UI components, HTML pages, React apps → Use content_tool write
94
-
95
- ✅ ONLY USE FOR:
96
- - File generation: PowerPoint (.pptx), Word (.docx), PDF (.pdf), Excel (.xlsx)
97
- - Processing uploaded files (CSV, Excel analysis)
98
- - Heavy computation requiring Python
99
-
100
- Rules:
101
- - No network access available
102
- - Generated files auto-delivered (no download links needed)
103
- `.trim();
104
- return tool(async (rawInput, config) => {
105
- // Resolve URL at call time (not module load time) to pick up env var changes
106
- const baseEndpoint = getCodeBaseURL();
107
- const EXEC_ENDPOINT = `${baseEndpoint}/exec`;
108
- const { lang, code, ...rest } = rawInput;
109
- /**
110
- * Extract session context from config.toolCall (injected by ToolNode).
111
- * - session_id: For API to associate with previous session
112
- * - _injected_files: File refs to pass directly (avoids /files endpoint race condition)
113
- */
114
- const { session_id, _injected_files } = (config.toolCall ?? {});
115
- const postData = {
116
- lang,
117
- code,
118
- ...rest,
119
- ...params,
120
- };
121
- /**
122
- * Pass session_id to /exec so code-executor reuses the existing session workspace.
123
- * This allows retries and follow-up executions to access previously generated files.
124
- */
125
- if (session_id != null && session_id.length > 0) {
126
- postData.session_id = session_id;
127
- }
128
- /**
129
- * File injection priority:
130
- * 1. Use _injected_files from ToolNode (avoids /files endpoint race condition)
131
- * 2. Fall back to fetching from /files endpoint if session_id provided but no injected files
132
- */
133
- if (_injected_files && _injected_files.length > 0) {
134
- postData.files = _injected_files;
135
- }
136
- else if (session_id != null && session_id.length > 0) {
137
- /** Fallback: fetch from /files endpoint (may have race condition issues) */
138
- try {
139
- const filesEndpoint = `${baseEndpoint}/files/${session_id}?detail=full`;
140
- const fetchOptions = {
141
- method: 'GET',
142
- headers: {
143
- 'User-Agent': 'Illuma/1.0',
144
- 'X-API-Key': apiKey,
145
- },
146
- };
147
- if (process.env.PROXY != null && process.env.PROXY !== '') {
148
- fetchOptions.agent = new HttpsProxyAgent(process.env.PROXY);
149
- }
150
- const response = await fetch(filesEndpoint, fetchOptions);
151
- if (!response.ok) {
152
- throw new Error(`Failed to fetch files for session: ${response.status}`);
153
- }
154
- const files = await response.json();
155
- if (Array.isArray(files) && files.length > 0) {
156
- const fileReferences = files.map((file) => {
157
- const nameParts = file.name.split('/');
158
- const id = nameParts.length > 1 ? nameParts[1].split('.')[0] : '';
159
- return {
160
- session_id,
161
- id,
162
- name: file.metadata['original-filename'],
163
- };
164
- });
165
- postData.files = fileReferences;
166
- }
167
- }
168
- catch {
169
- // eslint-disable-next-line no-console
170
- console.warn(`Failed to fetch files for session: ${session_id}`);
171
- }
172
- }
173
- try {
174
- const fetchOptions = {
175
- method: 'POST',
176
- headers: {
177
- 'Content-Type': 'application/json',
178
- 'User-Agent': 'Illuma/1.0',
179
- 'X-API-Key': apiKey,
180
- },
181
- body: JSON.stringify(postData),
182
- };
183
- if (process.env.PROXY != null && process.env.PROXY !== '') {
184
- fetchOptions.agent = new HttpsProxyAgent(process.env.PROXY);
185
- }
186
- const response = await fetch(EXEC_ENDPOINT, fetchOptions);
187
- if (!response.ok) {
188
- throw new Error(`HTTP error! status: ${response.status}`);
189
- }
190
- const result = await response.json();
191
- let formattedOutput = '';
192
- if (result.stdout) {
193
- formattedOutput += `stdout:\n${result.stdout}\n`;
194
- }
195
- else {
196
- formattedOutput += emptyOutputMessage;
197
- }
198
- if (result.stderr)
199
- formattedOutput += `stderr:\n${result.stderr}\n`;
200
- if (result.files && result.files.length > 0) {
201
- formattedOutput += 'Generated files:\n';
202
- const fileCount = result.files.length;
203
- for (let i = 0; i < fileCount; i++) {
204
- const file = result.files[i];
205
- const isImage = imageExtRegex.test(file.name);
206
- formattedOutput += `- /mnt/data/${file.name} | ${isImage ? imageMessage : otherMessage}`;
207
- if (i < fileCount - 1) {
208
- formattedOutput += fileCount <= 3 ? ', ' : ',\n';
209
- }
210
- }
211
- formattedOutput += `\n\n${accessMessage}`;
212
- return [
213
- formattedOutput.trim(),
214
- {
215
- session_id: result.session_id,
216
- files: result.files,
217
- },
218
- ];
219
- }
220
- return [formattedOutput.trim(), { session_id: result.session_id }];
221
- }
222
- catch (error) {
223
- throw new Error(`Execution error (${EXEC_ENDPOINT}):\n\n${error?.message}`);
224
- }
225
- }, {
226
- name: CodeExecutionToolName,
227
- description,
228
- schema: CodeExecutionToolSchema,
229
- responseFormat: Constants.CONTENT_AND_ARTIFACT,
230
- });
231
- }
232
- export { createCodeExecutionTool };
233
- //# sourceMappingURL=CodeExecutor.js.map