mirror of
https://github.com/Finesssee/ProxyPilot.git
synced 2026-11-20 12:23:26 +00:00
refactor(antigravity): remove legacy client signature comments
Cleanup dead code from signature handling in thinking blocks. The actual fix was applied in commit27b25bc0. Cherry-picked from CLIProxyAPI:5977af96
This commit is contained in:
@@ -125,11 +125,6 @@ func ConvertClaudeRequestToAntigravity(modelName string, inputRawJSON []byte, _
|
||||
if contentTypeResult.Type == gjson.String && contentTypeResult.String() == "thinking" {
|
||||
// Use GetThinkingText to handle wrapped thinking objects
|
||||
thinkingText := thinking.GetThinkingText(contentResult)
|
||||
// signatureResult := contentResult.Get("signature")
|
||||
// clientSignature := ""
|
||||
// if signatureResult.Exists() && signatureResult.String() != "" {
|
||||
// clientSignature = signatureResult.String()
|
||||
// }
|
||||
|
||||
// Always try cached signature first (more reliable than client-provided)
|
||||
// Client may send stale or invalid signatures from different sessions
|
||||
|
||||
Reference in New Issue
Block a user