Default OLLAMA_MODEL für neue Nutzer auf glm-5.2:cloud
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
+3
-3
@@ -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') || '',
|
||||
};
|
||||
|
||||
@@ -212,7 +212,7 @@
|
||||
<label for="einr-model" class="block text-xs font-medium text-gray-500 dark:text-gray-400">Modell</label>
|
||||
<input type="text" id="einr-model" name="OLLAMA_MODEL"
|
||||
class="mt-1 w-full rounded-md border border-gray-300 bg-white px-3 py-2 text-sm text-gray-800 dark:border-gray-600 dark:bg-gray-700 dark:text-white"
|
||||
value="<%= setupWizard.ollamaModel || 'gpt-oss:120b' %>">
|
||||
value="<%= setupWizard.ollamaModel || 'glm-5.2:cloud' %>">
|
||||
</div>
|
||||
<div>
|
||||
<label for="einr-host" class="block text-xs font-medium text-gray-500 dark:text-gray-400">Host</label>
|
||||
|
||||
Reference in New Issue
Block a user