feat: add claude code channel
This commit is contained in:
1 parent
31d5e39d2b
commit
1389cc7acd
17 files changed
+766
-27
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user