MCPcopy Create free account
hub / github.com/alibaba/open-code-review / Error

Method Error

internal/chatgptauth/api_error.go:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24}
25
26func (e *APIError) Error() string {
27 return fmt.Sprintf("ChatGPT API request failed: status=%d code=%q param=%q request_id=%q body_shape=%s detail=%q", e.Status, e.Code, e.Param, e.RequestID, e.Shape, e.Detail)
28}
29
30var apiSecretPatterns = []*regexp.Regexp{
31 regexp.MustCompile(`(?i)\bBearer\s+[^\s,;"']+`),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected