Revert "feat: add Claude Code channel support with OAuth integration"

This commit is contained in:
Seefs authored and GitHub committed 2025-07-31 22:08:16 +08:00
1 parent 7eccf42513
commit 3b34afa8c9
18 files changed
+26 -774

No files matched your search

-3
View File
@@ -9,7 +9,6 @@ import (
"one-api/relay/channel/baidu"
"one-api/relay/channel/baidu_v2"
"one-api/relay/channel/claude"
"one-api/relay/channel/claude_code"
"one-api/relay/channel/cloudflare"
"one-api/relay/channel/cohere"
"one-api/relay/channel/coze"
@@ -99,8 +98,6 @@ func GetAdaptor(apiType int) channel.Adaptor {
return &coze.Adaptor{}
case constant.APITypeJimeng:
return &jimeng.Adaptor{}
case constant.APITypeClaudeCode:
return &claude_code.Adaptor{}
}
return nil
}