fix(backend): 修复编译错误

- 移除 claude_types.go 中重复的类型声明和未定义的类型引用
- 修复 request_transformer.go 中未声明的变量 part
- 移除 gemini_oauth_service.go 中未使用的 net/url 导入
This commit is contained in:
ianshaw
2025-12-31 17:11:01 -08:00
parent 8181746695
commit 0fd1e9c5e6

View File

@@ -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"`