Przeglądaj źródła

fix a typo in comment

RedwindA 6 miesięcy temu
rodzic
commit
ed95a9f2b2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      controller/channel.go

+ 1 - 1
controller/channel.go

@@ -184,7 +184,7 @@ func FetchUpstreamModels(c *gin.Context) {
 	switch channel.Type {
 	case constant.ChannelTypeGemini:
 		// curl https://example.com/v1beta/models?key=$GEMINI_API_KEY
-		url = fmt.Sprintf("%s/v1beta/openai/models", baseURL) // Remember key in url since we need to use AuthHeader
+		url = fmt.Sprintf("%s/v1beta/openai/models", baseURL) // Remove key in url since we need to use AuthHeader
 	case constant.ChannelTypeAli:
 		url = fmt.Sprintf("%s/compatible-mode/v1/models", baseURL)
 	default: