Feature: Add configurable LLM endpoint for Claude-compatible alternatives

This commit is contained in:
WLTBAgent
2026-02-16 16:35:42 +00:00
parent 8b5c8826e2
commit 3c2d356eb0
5 changed files with 45 additions and 12 deletions

View File

@@ -26,6 +26,7 @@
google_client_id: document.getElementById('google_client_id').value,
google_client_secret: document.getElementById('google_client_secret').value,
google_refresh_token: document.getElementById('google_refresh_token').value,
llm_api_endpoint: document.getElementById('llm_api_endpoint').value,
anthropic_api_key: document.getElementById('anthropic_api_key').value
};
@@ -94,6 +95,7 @@
document.getElementById('google_client_id').value = data.data.google_client_id || '';
document.getElementById('google_client_secret').value = '';
document.getElementById('google_refresh_token').value = '';
document.getElementById('llm_api_endpoint').value = data.data.llm_api_endpoint || '';
document.getElementById('anthropic_api_key').value = '';
updateStatus(!!data.data.is_configured);
showNotification('Success', 'Configuration loaded');