fix build bug

This commit is contained in:
AC
2025-06-11 15:43:43 +08:00
parent cd0366392a
commit f72aadc35d
7 changed files with 32 additions and 11 deletions

View File

@@ -492,7 +492,10 @@ export const useChatStore = createPersistStore(
);
// Add detailed browser and session logging
console.log("[onUserInput] Browser:", navigator.userAgent);
console.log(
"[onUserInput] Browser:",
typeof navigator !== "undefined" ? navigator.userAgent : "SSR",
);
console.log(
"[onUserInput] Full modelConfig:",
JSON.stringify(modelConfig, null, 2),