Feature: Add configurable LLM model name

This commit is contained in:
WLTBAgent
2026-02-16 17:18:31 +00:00
parent 3c2d356eb0
commit 69dfdc5f87
6 changed files with 125 additions and 5 deletions

View File

@@ -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');