Support for MokaAI M3E

This commit is contained in:
Jerry
2025-01-22 04:21:08 +08:00
parent 53a941a6c0
commit 126f04e08f
11 changed files with 341 additions and 5 deletions

View File

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