mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
refac
This commit is contained in:
parent
46c1d6591b
commit
b7934e9182
1 changed files with 2 additions and 1 deletions
|
|
@ -84,12 +84,13 @@
|
|||
}
|
||||
}
|
||||
|
||||
$: args = decode(attributes?.arguments ?? '');
|
||||
export let resultContent: string = '';
|
||||
|
||||
$: result = resultContent || decode(attributes?.result ?? '');
|
||||
$: files = parseJSONString(decode(attributes?.files ?? ''));
|
||||
$: embeds = parseJSONString(decode(attributes?.embeds ?? ''));
|
||||
$: args =
|
||||
open || (Array.isArray(embeds) && embeds.length > 0) ? decode(attributes?.arguments ?? '') : '';
|
||||
$: isDone = attributes?.done === 'true';
|
||||
$: isExecuting = attributes?.done && attributes?.done !== 'true';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue