diff --git a/.gitignore b/.gitignore index 696a9b4a..f3db04a8 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ node_modules # local home for testing .llm-space +.omc # output out diff --git a/packages/ui/src/components/thread-playground/message/tool-call-list-item.tsx b/packages/ui/src/components/thread-playground/message/tool-call-list-item.tsx index 41743e1b..343b9408 100644 --- a/packages/ui/src/components/thread-playground/message/tool-call-list-item.tsx +++ b/packages/ui/src/components/thread-playground/message/tool-call-list-item.tsx @@ -67,6 +67,7 @@ function _ToolCallListItem({ const executable = tool !== undefined && isExecutableTool(tool); const [calling, setCalling] = useState(false); const [previewOpen, setPreviewOpen] = useState(false); + const [argsPreviewOpen, setArgsPreviewOpen] = useState(false); const outputText = useMemo(() => getToolCallOutputText(toolCall), [toolCall]); const isError = toolCall.output?.isError ?? false; const handleOutputChange = useCallback( @@ -137,6 +138,16 @@ function _ToolCallListItem({