()
| 130 | } |
| 131 | |
| 132 | emitRunFailed() { |
| 133 | for (const s of this.subscribers) { |
| 134 | s.onRunFailed?.({ |
| 135 | messages: this.messages, |
| 136 | state: this.state, |
| 137 | agent: this, |
| 138 | input: DUMMY_RUN_INPUT, |
| 139 | error: new Error("run failed"), |
| 140 | }); |
| 141 | } |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | class CopilotKitStub { |
no test coverage detected