MCPcopy Create free account
hub / github.com/experdot/pointer / finalizeTerminalError

Method finalizeTerminalError

src/main/aiHandler.ts:108–120  ·  view source on GitHub ↗
(requestId: string, error: string)

Source from the content-addressed store, hash-verified

106 }
107
108 private finalizeTerminalError(requestId: string, error: string): void {
109 const state = this.requestStates.get(requestId)
110 if (!state) {
111 return
112 }
113
114 if (state.status === 'aborted') {
115 this.finalizeComplete(requestId)
116 return
117 }
118
119 this.finalizeError(requestId, error)
120 }
121
122 private getModelConfig(modelConfig?: ModelConfig): ModelConfig {
123 return (

Callers 2

processStreamResponseMethod · 0.95
sendMessageStreamingMethod · 0.95

Calls 3

finalizeCompleteMethod · 0.95
finalizeErrorMethod · 0.95
getMethod · 0.65

Tested by

no test coverage detected