diff --git a/main.py b/main.py index 3bd27f9..4069fab 100644 --- a/main.py +++ b/main.py @@ -23,7 +23,7 @@ SSH_KEY = os.path.expanduser("~/.ssh/id_rsa") DB_PATH = "cluster.db" # --- KI KONFIGURATION --- -AI_PROVIDER = "ollama" # "openai", "google" oder "ollama" +AI_PROVIDER = "google" # "openai", "google" oder "ollama" OPENAI_API_KEY = "dein-key" GOOGLE_API_KEY = "dein-key" OLLAMA_BASE_URL = "http://x.x.x.x:11434/v1" # IP deines Ollama-Servers @@ -69,7 +69,7 @@ async def get_ai_response(user_input, system_prompt): # <--- system_prompt hinzu model='gemini-2.5-flash', contents=user_input, config=types.GenerateContentConfig( - system_instruction=SYSTEM_PROMPT + system_instruction=system_prompt ) ) return response.text