Merge pull request #1067 from QuantumNous/coze

Coze 渠道
This commit is contained in:
Calcium-Ion
2025-05-16 16:11:02 +08:00
committed by GitHub
10 changed files with 573 additions and 2 deletions

View File

@@ -240,5 +240,7 @@ func SetupContextForSelectedChannel(c *gin.Context, channel *model.Channel, mode
c.Set("api_version", channel.Other)
case common.ChannelTypeMokaAI:
c.Set("api_version", channel.Other)
case common.ChannelTypeCoze:
c.Set("bot_id", channel.Other)
}
}