feat: add claude code channel

This commit is contained in:
Seefs
2025-07-26 18:06:46 +08:00
parent e7524c85c2
commit bca78beb1b
17 changed files with 766 additions and 27 deletions

View File

@@ -65,6 +65,8 @@ func ChannelType2APIType(channelType int) (int, bool) {
apiType = constant.APITypeCoze
case constant.ChannelTypeJimeng:
apiType = constant.APITypeJimeng
case constant.ChannelTypeClaudeCode:
apiType = constant.APITypeClaudeCode
}
if apiType == -1 {
return constant.APITypeOpenAI, false