MCPcopy
hub / github.com/CopilotKit/CopilotKit / emitRunFailed

Method emitRunFailed

packages/angular/src/lib/agent.spec.ts:132–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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
145class CopilotKitStub {

Callers 1

agent.spec.tsFile · 0.80

Calls 1

onRunFailedMethod · 0.80

Tested by

no test coverage detected