feat(settings): refactor agent auth modes and add model provider authentication
- Split env vars and config file persistence into separate save operations - Add model_provider_id field to agent_setting for tracking selected provider - Add "Model Provider" auth mode for Claude Code, Codex CLI, and Gemini CLI - Add "Custom Endpoint" auth mode for Claude Code (previously only official subscription) - Unify auth mode labels across all three agents (official subscription / custom endpoint / model provider) - When model provider is selected, fill api_url and api_key into env and config automatically - Resolve model provider credentials at ACP connect time as a backend fallback - Clear provider deletion cascades to agent_setting.model_provider_id - Claude Code writes API credentials to config.env (ANTHROPIC_BASE_URL / ANTHROPIC_AUTH_TOKEN) - Codex: switching auth modes patches config.toml instead of clearing it - Add i18n keys for new auth modes in all 10 supported languages Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -565,7 +565,18 @@
|
||||
"gatewayTokenHint": "Wenn möglich token-file statt Klartext-Token verwenden; über openclaw CLI konfigurieren.",
|
||||
"sessionKeyHint": "Optional. Gateway-Session-Key angeben; leer lassen für automatische Zuweisung einer isolierten Session."
|
||||
},
|
||||
"authModeOfficialSubscription": "Offizielles Abonnement",
|
||||
"authModeCustomEndpoint": "Benutzerdefinierter Endpunkt",
|
||||
"authModeCustomEndpointHint": "API-URL und API-Key manuell für einen benutzerdefinierten Endpunkt konfigurieren.",
|
||||
"authModeModelProvider": "Modellanbieter",
|
||||
"modelProvider": "Modellanbieter",
|
||||
"modelProviderHint": "API-URL und API-Key eines konfigurierten Modellanbieters verwenden.",
|
||||
"selectModelProvider": "Modellanbieter auswählen",
|
||||
"noModelProviderAvailable": "Kein Modellanbieter für diesen Agent konfiguriert. Gehen Sie zu den Modellanbieter-Einstellungen, um einen hinzuzufügen.",
|
||||
"claude": {
|
||||
"authMode": "Authentifizierungsmodus",
|
||||
"officialSubscription": "Offizielles Abonnement",
|
||||
"officialSubscriptionHint": "Offizielles Anthropic-Abonnement verwenden, kein API-Key erforderlich.",
|
||||
"mainModel": "Hauptmodell",
|
||||
"reasoningModel": "Reasoning-Modell (thinking)",
|
||||
"haikuDefaultModel": "Standard-Haiku-Modell",
|
||||
@@ -624,7 +635,8 @@
|
||||
"configSavedHint": "Bestehende Sitzungen müssen neu geöffnet werden, damit die Änderungen wirksam werden",
|
||||
"saveConfigManagementFailed": "Speichern der Konfigurationsverwaltung fehlgeschlagen",
|
||||
"clineSaved": "Cline-Konfiguration gespeichert",
|
||||
"saveClineFailed": "Cline-Konfiguration konnte nicht gespeichert werden"
|
||||
"saveClineFailed": "Cline-Konfiguration konnte nicht gespeichert werden",
|
||||
"modelProviderRequired": "Bitte wählen Sie vor dem Speichern einen Modellanbieter aus."
|
||||
},
|
||||
"version": {
|
||||
"statusLabel": "Versionsstatus",
|
||||
|
||||
Reference in New Issue
Block a user