Merge pull request #1363 from feitianbubu/pr/add-jimeng-image

feat: 增加即梦生图功能
This commit is contained in:
Calcium-Ion authored and GitHub committed 2025-07-18 20:45:49 +08:00
commit 066d4a7906
8 files changed
+421 -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