mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
refac: tool call result display
This commit is contained in:
parent
1921420319
commit
b97ea72616
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@
|
|||
return JSON.stringify(parsed, null, 2);
|
||||
} else {
|
||||
// It's a primitive value like a number, boolean, etc.
|
||||
return String(parsed);
|
||||
return `${JSON.stringify(String(parsed))}`;
|
||||
}
|
||||
} catch (e) {
|
||||
// Not valid JSON, return as-is
|
||||
|
|
|
|||
Loading…
Reference in a new issue