feat: Gemini als Provider hinzugefügt (Free-Tier-Modelle hardcodiert)
- OpenAiService: Gemini-Provider mit Base-URL generativelanguage.googleapis.com/v1beta/openai - GeminiApiKey aus IConfiguration (appsettings.json / appsettings.Production.json) - Gemini Free-Tier-Modelle hardcodiert: 2.5 Pro, 2.5 Flash, 2.5 Flash Lite - ModelsEndpoint: /api/models/gemini Endpoint - Frontend: geminiOptgroup dynamisch befüllt - ProviderKeys als static HashSet (für ChatService.ResolveModelId)
This commit is contained in:
1 parent
50e09bbc36
commit
e87455ffe9
6 files changed
+45
-15
No files matched your search
+2
-1
@@ -14,5 +14,6 @@
|
||||
"PayloadLogging": false,
|
||||
"PayloadLoggingGzip": false,
|
||||
"KreaToken": "",
|
||||
"KreaApiKey": ""
|
||||
"KreaApiKey": "",
|
||||
"GeminiApiKey": ""
|
||||
}
|
||||
Reference in new issue
Block a user