diff --git a/.env.example b/.env.example index d7fb723..8aaec94 100644 --- a/.env.example +++ b/.env.example @@ -7,8 +7,8 @@ # Ollama Cloud API-Schlüssel – https://ollama.com/settings/keys OLLAMA_API_KEY= -# Optional – Cloud-Modell (Standard: gpt-oss:120b) -# OLLAMA_MODEL=gpt-oss:120b +# Optional – Cloud-Modell (Standard: glm-5.2:cloud) +# OLLAMA_MODEL=glm-5.2:cloud # Optional – anderer Host (z. B. lokale Ollama-Instanz: http://localhost:11434) # OLLAMA_HOST=https://ollama.com diff --git a/lib/config.js b/lib/config.js index 5cd1ca1..457296a 100644 --- a/lib/config.js +++ b/lib/config.js @@ -23,7 +23,7 @@ const { currentUser } = require('./context'); const DEFAULTS = { // Ollama Cloud (KI text generation + chat). OLLAMA_API_KEY: '', - OLLAMA_MODEL: 'gpt-oss:120b', + OLLAMA_MODEL: 'glm-5.2:cloud', OLLAMA_HOST: 'https://ollama.com', OLLAMA_TIMEOUT_MS: '300000', // E-Mail (SMTP submission + IMAP receive). @@ -52,7 +52,7 @@ const FIELDS = [ beschreibung: 'Steuerung der KI, die Bewerbungsunterlagen erzeugt und den KI-Chat beantwortet. Ohne API-Schlüssel sind diese Funktionen deaktiviert.', items: [ { key: 'OLLAMA_API_KEY', label: 'API-Schlüssel', secret: true, help: 'Schlüssel von https://ollama.com/settings/keys' }, - { key: 'OLLAMA_MODEL', label: 'Modell', help: 'Standard: gpt-oss:120b' }, + { key: 'OLLAMA_MODEL', label: 'Modell', help: 'Standard: glm-5.2:cloud' }, { key: 'OLLAMA_HOST', label: 'Host', help: 'Standard: https://ollama.com — lokaler Ollama: http://localhost:11434' }, { key: 'OLLAMA_TIMEOUT_MS', label: 'Timeout (ms)', help: 'Standard: 300000 (5 Min.)' }, ], @@ -163,7 +163,7 @@ function getAll() { function ollama() { return { host: (get('OLLAMA_HOST') || 'https://ollama.com').replace(/\/+$/, ''), - model: get('OLLAMA_MODEL') || 'gpt-oss:120b', + model: get('OLLAMA_MODEL') || 'glm-5.2:cloud', timeoutMs: Number(get('OLLAMA_TIMEOUT_MS')) || 300000, apiKey: get('OLLAMA_API_KEY') || '', }; diff --git a/views/partials/einrichtung.ejs b/views/partials/einrichtung.ejs index 287eeae..3723171 100644 --- a/views/partials/einrichtung.ejs +++ b/views/partials/einrichtung.ejs @@ -212,7 +212,7 @@ + value="<%= setupWizard.ollamaModel || 'glm-5.2:cloud' %>">