()
| 4 | import type { StreamChunk } from '@tanstack/ai' |
| 5 | |
| 6 | function makeContext() { |
| 7 | let id = 0 |
| 8 | return { |
| 9 | model: 'claude-opus-4-6', |
| 10 | runId: 'run-1', |
| 11 | threadId: 'thread-1', |
| 12 | genId: () => `gen-${++id}`, |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | async function* fromArray( |
| 17 | messages: Array<AgentSdkMessage>, |
no outgoing calls
no test coverage detected