(input)
| 203 | |
| 204 | export class FakeQueryEngine extends EventEmitter { |
| 205 | async *submitMessage(input) { |
| 206 | yield { |
| 207 | type: "assistant_message", |
| 208 | message: { role: "assistant", content: [{ type: "text", text: `processed: ${input}` }] }, |
| 209 | }; |
| 210 | yield { type: "usage_updated", totalUsage: { input_tokens: 10, output_tokens: 5 } }; |
| 211 | yield { type: "turn_complete", reason: "completed", turnCount: 1 }; |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | export async function demoStep28() { |
no outgoing calls
no test coverage detected