Feature: Add configurable LLM model name
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
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,
|
||||
llm_model: document.getElementById('llm_model').value,
|
||||
anthropic_api_key: document.getElementById('anthropic_api_key').value
|
||||
};
|
||||
|
||||
@@ -96,6 +97,7 @@
|
||||
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('llm_model').value = data.data.llm_model || '';
|
||||
document.getElementById('anthropic_api_key').value = '';
|
||||
updateStatus(!!data.data.is_configured);
|
||||
showNotification('Success', 'Configuration loaded');
|
||||
|
||||
Reference in New Issue
Block a user