feat: add jimeng image

This commit is contained in:
feitianbubu
2025-07-10 05:21:45 +00:00
parent e82dc0e841
commit aa8d112c58
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