From 0fd1e9c5e662b45cfd255a7358311cd501a8de61 Mon Sep 17 00:00:00 2001 From: ianshaw Date: Wed, 31 Dec 2025 17:11:01 -0800 Subject: [PATCH] =?UTF-8?q?fix(backend):=20=E4=BF=AE=E5=A4=8D=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除 claude_types.go 中重复的类型声明和未定义的类型引用 - 修复 request_transformer.go 中未声明的变量 part - 移除 gemini_oauth_service.go 中未使用的 net/url 导入 --- backend/internal/pkg/antigravity/claude_types.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/internal/pkg/antigravity/claude_types.go b/backend/internal/pkg/antigravity/claude_types.go index 34e6b1f4..01b805cd 100644 --- a/backend/internal/pkg/antigravity/claude_types.go +++ b/backend/internal/pkg/antigravity/claude_types.go @@ -54,9 +54,6 @@ type CustomToolSpec struct { InputSchema map[string]any `json:"input_schema"` } -// ClaudeCustomToolSpec 兼容旧命名(MCP custom 工具规格) -type ClaudeCustomToolSpec = CustomToolSpec - // SystemBlock system prompt 数组形式的元素 type SystemBlock struct { Type string `json:"type"`