(code: string, input: Partial<Omit<ExecuteCodeCellInput, 'code'>> = {})
| 4 | import { type ExecuteCodeCellInput, executeCodeCell, serializedByteLength } from '../index.js'; |
| 5 | |
| 6 | function execute(code: string, input: Partial<Omit<ExecuteCodeCellInput, 'code'>> = {}) { |
| 7 | return executeCodeCell({ |
| 8 | code, |
| 9 | tools: [], |
| 10 | callTool: async () => null, |
| 11 | ...input, |
| 12 | }); |
| 13 | } |
| 14 | |
| 15 | test('counts the bounded JSON representation used at the tool boundary', () => { |
| 16 | let inspectedPastLimit = false; |
no test coverage detected