调整 Gemini 模型接口路由

This commit is contained in:
2026-07-22 00:24:36 +08:00
parent d5c2c58c67
commit d818e7947a
2 changed files with 46 additions and 5 deletions
+1 -1
View File
@@ -40,9 +40,9 @@ type geminiUploadSession struct {
}
var geminiGenerateContentRoutePrefixes = []string{
"/api/v1/models/",
"/v1beta/models/",
"/v1/models/",
"/models/",
}
func (s *Server) registerGeminiGenerateContentRoutes(mux *http.ServeMux) {