add debug logging to track custom endpoint detection issue
This commit is contained in:
parent
559dd59522
commit
047d1e7856
1 changed files with 4 additions and 0 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue