feat: add jimeng image

This commit is contained in:
feitianbubu
2025-07-10 05:21:45 +00:00
parent 4af505e618
commit 43980b3ad1
8 changed files with 422 additions and 2 deletions

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