update gemini model

This commit is contained in:
Sakurasan committed 2024-12-03 16:28:21 +08:00
1 parent 5181ba4552
commit fde0e46cbd
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ func ChatHandler(c *gin.Context) {
return
}
if strings.HasPrefix(chatreq.Model, "gemini") {
if strings.HasPrefix(chatreq.Model, "gemini") || strings.HasPrefix(chatreq.Model, "learnlm") {
google.ChatProxy(c, &chatreq)
return
}