[Fix] UI: Corrected casing for LMStudio URL variable and updated related error handling logic.

This commit is contained in:
Sakamoto Shiina committed 2025-12-10 17:06:32 +09:00
1 parent 27454c8a88
commit 11ef81f170
1 file changed
+3 -3
+3 -3
View File
@@ -48,7 +48,7 @@ export const _useBackendErrorHandling = () => {
updateOpenAIAuthKey, updateOpenAIAuthKey,
updateSelectedOpenAIModel, updateSelectedOpenAIModel,
updateLMStudioUrl, updateLMStudioURL,
updateSelectedLMStudioModel, updateSelectedLMStudioModel,
updateSelectedOllamaModel, updateSelectedOllamaModel,
@@ -223,10 +223,10 @@ export const _useBackendErrorHandling = () => {
case "/set/data/lmstudio_url": case "/set/data/lmstudio_url":
if (message === "LMStudio URL is not valid") { if (message === "LMStudio URL is not valid") {
updateLMStudioUrl(data); updateLMStudioURL(data);
showNotification_Error(message, { category_id: "lmstudio_url" }); showNotification_Error(message, { category_id: "lmstudio_url" });
} else { } else {
updateLMStudioUrl(data); updateLMStudioURL(data);
showNotification_Error(message, { category_id: "lmstudio_url" }); showNotification_Error(message, { category_id: "lmstudio_url" });
} }
return; return;