Feature: Add configurable LLM endpoint for Claude-compatible alternatives
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user