File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed
Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import type {
2424 TriggerChatRunStore ,
2525 TriggerChatStream ,
2626 TriggerChatTaskContext ,
27+ TriggerChatTransportError ,
2728 TriggerChatTransportPayload ,
2829 TriggerChatTransportRequest ,
2930 TriggerChatTriggerOptionsResolver ,
@@ -372,20 +373,7 @@ export class TriggerChatTransport<
372373 return `${ normalizedBaseUrl } /realtime/v1/streams/${ encodedRunId } /${ encodedStreamKey } ` ;
373374 }
374375
375- private async reportError (
376- event : {
377- phase :
378- | "payloadMapper"
379- | "triggerOptions"
380- | "triggerTask"
381- | "onTriggeredRun"
382- | "consumeTrackingStream"
383- | "reconnect" ;
384- chatId : string ;
385- runId : string | undefined ;
386- error : Error ;
387- }
388- ) {
376+ private async reportError ( event : TriggerChatTransportError ) {
389377 if ( ! this . onError ) {
390378 return ;
391379 }
You can’t perform that action at this time.
0 commit comments