mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-12 23:02:35 +00:00
refac
This commit is contained in:
parent
30eed12513
commit
f3eade42ae
1 changed files with 3 additions and 0 deletions
|
|
@ -73,6 +73,9 @@
|
|||
{ signal: controller.signal }
|
||||
);
|
||||
if (disposed || !panes[tab.id]) return;
|
||||
if (!tab.loaded) {
|
||||
panes[tab.id].write(`$ ${tab.command.replace(/\r?\n/g, '\r\n')}\r\n`);
|
||||
}
|
||||
if (result.truncated) panes[tab.id].write('\r\n[Earlier output omitted]\r\n');
|
||||
panes[tab.id].write(result.output.map((entry) => entry.data).join(''));
|
||||
tabs = tabs.map((item) =>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue