MCPcopy Create free account
hub / github.com/Quorinex/Kiro-Go / sendOpenAIError

Method sendOpenAIError

proxy/handler.go:2091–2100  ·  view source on GitHub ↗
(w http.ResponseWriter, status int, errType, message string)

Source from the content-addressed store, hash-verified

2089 func() bool { return !responseStarted })
2090 if err != nil {
2091 if ctx.Err() != nil {
2092 return
2093 }
2094 lastErr = err
2095 excluded[account.ID] = true
2096 // Integrity failures are upstream hiccups, not account faults.
2097 if !isStreamIntegrityError(err) {
2098 h.handleAccountFailure(account, err)
2099 }
2100 if !responseStarted {
2101 continue
2102 }
2103 h.recordFailureWithDetails("openai", model, account.ID, err)

Callers 7

authenticateForOpenAIMethod · 0.95
handleOpenAIChatMethod · 0.95
handleOpenAIStreamMethod · 0.95
handleOpenAINonStreamMethod · 0.95
handleOpenAIResponsesMethod · 0.95
handleResponsesStreamMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected