add debug logging to track custom endpoint detection issue

This commit is contained in:
Russell Ballestrini 2025-07-11 15:41:49 -04:00
parent 559dd59522
commit 047d1e7856

View file

@ -46,6 +46,10 @@ export async function fetchModelsFromEndpoints() {
const useCustomAPI = localStorage.getItem("useCustomAPI") === "true";
const customBaseURL = localStorage.getItem("customBaseURL");
console.log("🔍 DEBUG: useCustomAPI =", localStorage.getItem("useCustomAPI"));
console.log("🔍 DEBUG: customBaseURL =", customBaseURL);
console.log("🔍 DEBUG: useCustomAPI && customBaseURL =", useCustomAPI && customBaseURL);
if (useCustomAPI && customBaseURL) {
console.log("🔧 Adding custom API endpoint to model fetch:", customBaseURL);
endpointsToFetch.push({