feat: add jimeng image

This commit is contained in:
feitianbubu committed 2025-07-13 13:36:33 +08:00
1 parent 4af505e618
commit 43980b3ad1
8 files changed
+422 -2

No files matched your search

+2
View File
@@ -63,6 +63,8 @@ func ChannelType2APIType(channelType int) (int, bool) {
apiType = constant.APITypeXai
case constant.ChannelTypeCoze:
apiType = constant.APITypeCoze
case constant.ChannelTypeJimeng:
apiType = constant.APITypeJimeng
}
if apiType == -1 {
return constant.APITypeOpenAI, false