Commit 0fd1e9c5 authored by ianshaw's avatar ianshaw
Browse files

fix(backend): 修复编译错误

- 移除 claude_types.go 中重复的类型声明和未定义的类型引用
- 修复 request_transformer.go 中未声明的变量 part
- 移除 gemini_oauth_service.go 中未使用的 net/url 导入
parent 81817466
...@@ -54,9 +54,6 @@ type CustomToolSpec struct { ...@@ -54,9 +54,6 @@ type CustomToolSpec struct {
InputSchema map[string]any `json:"input_schema"` InputSchema map[string]any `json:"input_schema"`
} }
// ClaudeCustomToolSpec 兼容旧命名(MCP custom 工具规格)
type ClaudeCustomToolSpec = CustomToolSpec
// SystemBlock system prompt 数组形式的元素 // SystemBlock system prompt 数组形式的元素
type SystemBlock struct { type SystemBlock struct {
Type string `json:"type"` Type string `json:"type"`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment