refactor: dynamic logging view height calculation and remove redundant LLM model refresh on settings save

This commit is contained in:
jxxghp
2026-05-05 12:34:09 +08:00
parent b7b62d7922
commit 8372f63eb6
2 changed files with 12 additions and 12 deletions

View File

@@ -526,9 +526,6 @@ async function loadSystemSettings() {
}
SystemSettings.value.Basic.LLM_THINKING_LEVEL = resolveThinkingLevelValue(result.data)
await loadLlmProviders()
if (SystemSettings.value.Basic.AI_AGENT_ENABLE && canRefreshModels.value) {
await refreshLlmModels(false)
}
}
} catch (error) {
console.log(error)