(id: string, content: string)
| 10 | }; |
| 11 | } |
| 12 | function readResult(id: string, content: string): Message { |
| 13 | return { role: 'tool', tool_call_id: id, name: 'read_file', content }; |
| 14 | } |
| 15 | |
| 16 | const MARK = '[QodeX context-cache]'; |
| 17 | const isStub = (m: Message) => typeof m.content === 'string' && m.content.startsWith(MARK); |