Merge pull request #14622 from Zyfax/patch-2

fix: remove trailing slash form test connection api url
This commit is contained in:
Tim Jaeryang Baek
2025-06-03 12:43:31 +04:00
committed by GitHub

View File

@@ -49,6 +49,9 @@
let loading = false;
const verifyOllamaHandler = async () => {
// remove trailing slash from url
url = url.replace(/\/$/, '');
const res = await verifyOllamaConnection(localStorage.token, {
url,
key
@@ -62,6 +65,9 @@
};
const verifyOpenAIHandler = async () => {
// remove trailing slash from url
url = url.replace(/\/$/, '');
const res = await verifyOpenAIConnection(
localStorage.token,
{