mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2026-02-15 02:44:26 +08:00
fix build bug
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user