gui: renderChat 增加防护与日志; log:r 改 invoke; 修 SSE 流式丢失气泡; chat 布局 overflow 修复

This commit is contained in:
JianFeeeee
2026-08-15 09:03:07 +08:00
parent 389be9654f
commit 1da0f6d532
4 changed files with 20 additions and 8 deletions

View File

@ -364,6 +364,7 @@ function doWebuiLogin(baseUrl, username, password, extraCookie) {
}
ipcMain.on('log:r', (_e, m) => { log('[r] ' + m); });
ipcMain.handle('log:r', (_e, m) => { log('[r] ' + m); return true; });
ipcMain.handle('webui:setAuth', async (_, { url, cookie, headers, username, password }) => {
const resp = { ok: true, error: '' };