添加gemini支持

This commit is contained in:
CaIon
2023-12-18 23:45:08 +08:00
parent f24a1da7f3
commit 796760222c
9 changed files with 372 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ func testChannel(channel *model.Channel, request ChatRequest) (err error, openai
fallthrough
case common.ChannelType360:
fallthrough
case common.ChannelTypeGemini:
fallthrough
case common.ChannelTypeXunfei:
return errors.New("该渠道类型当前版本不支持测试,请手动测试"), nil
case common.ChannelTypeAzure: