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

Method apiGetThinkingConfig

proxy/handler.go:3444–3451  ·  view source on GitHub ↗

apiGetThinkingConfig 获取 thinking 配置

(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

3442}
3443
3444func (h *Handler) writeMicrosoftSSOCanceled(w http.ResponseWriter) {
3445 w.WriteHeader(http.StatusConflict)
3446 json.NewEncoder(w).Encode(map[string]string{"error": "Microsoft SSO login was canceled"})
3447}
3448
3449func (h *Handler) writeAddAccountError(w http.ResponseWriter, err error, rotatedRefreshToken ...string) {
3450 if errors.Is(err, config.ErrDuplicateAccountID) ||
3451 errors.Is(err, config.ErrDuplicateRefreshToken) ||
3452 errors.Is(err, config.ErrDuplicateAPIKey) {
3453 w.WriteHeader(http.StatusConflict)
3454 } else {

Callers 1

handleAdminAPIMethod · 0.95

Calls 1

GetThinkingConfigFunction · 0.92

Tested by

no test coverage detected