Skip to content

Commit 3a2e9de

Browse files
committed
2 parents e74e3df + 9a4aabb commit 3a2e9de

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

internal/auth/kiro/refresh_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func RefreshWithGracefulDegradation(
4545
}
4646

4747
// Refresh failed - check if we can use the existing token
48-
log.Warnf("kiro: token refresh failed: %v", err)
48+
log.Debugf("kiro: token refresh failed: %v", err)
4949

5050
// Check if existing token is still valid (not expired)
5151
if existingAccessToken != "" && time.Now().Before(expiresAt) {

internal/auth/kiro/sso_oidc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ func (c *SSOOIDCClient) RefreshToken(ctx context.Context, clientID, clientSecret
765765
}
766766

767767
if resp.StatusCode != http.StatusOK {
768-
log.Warnf("token refresh failed (status %d): %s", resp.StatusCode, string(respBody))
768+
log.Debugf("token refresh failed (status %d): %s", resp.StatusCode, string(respBody))
769769
return nil, fmt.Errorf("token refresh failed (status %d): %s", resp.StatusCode, string(respBody))
770770
}
771771

internal/runtime/executor/openai_compat_executor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ func (e *OpenAICompatExecutor) stripProviderUnsupportedFields(auth *cliproxyauth
910910
}
911911
}
912912
}
913-
if !isMistral {
913+
if !isMistral && !isDeepSeekLike {
914914
return payload
915915
}
916916
messages := gjson.GetBytes(payload, "messages")

0 commit comments

Comments
 (0)