diff options
| author | Shoubhit Dash <[email protected]> | 2026-04-16 17:30:14 +0530 |
|---|---|---|
| committer | Shoubhit Dash <[email protected]> | 2026-04-16 17:30:14 +0530 |
| commit | 2e18a603f0ea24154908e748493fd4bfaa74fc00 (patch) | |
| tree | b723e00af2821b213573b16fa199b64babd5f1f5 /packages/web/src/components | |
| parent | 9819eb04614fd607cacb07d754052f1531a82331 (diff) | |
| parent | 7341718f9234b0cf3a8758c87e91d2006b71bff6 (diff) | |
| download | opencode-2e18a603f0ea24154908e748493fd4bfaa74fc00.tar.gz opencode-2e18a603f0ea24154908e748493fd4bfaa74fc00.zip | |
merge dev
Diffstat (limited to 'packages/web/src/components')
| -rw-r--r-- | packages/web/src/components/share/part.tsx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/web/src/components/share/part.tsx b/packages/web/src/components/share/part.tsx index c7d177df7..34cfe3f42 100644 --- a/packages/web/src/components/share/part.tsx +++ b/packages/web/src/components/share/part.tsx @@ -730,7 +730,13 @@ export function FallbackTool(props: ToolProps) { <> <div></div> <div>{arg[0]}</div> - <div>{String(arg[1] ?? "")}</div> + <div> + {typeof arg[1] === "string" || typeof arg[1] === "number" || typeof arg[1] === "boolean" + ? String(arg[1]) + : arg[1] == null + ? "" + : JSON.stringify(arg[1])} + </div> </> )} </For> |
