Преглед изворни кода

fix(desktop): task rendering perf

Adam пре 3 месеци
родитељ
комит
1d159c6858
1 измењених фајлова са 7 додато и 7 уклоњено
  1. 7 7
      packages/ui/src/components/message-part.tsx

+ 7 - 7
packages/ui/src/components/message-part.tsx

@@ -463,13 +463,13 @@ ToolRegistry.register({
           subtitle: props.input.description,
           subtitle: props.input.description,
         }}
         }}
       >
       >
-        <Show when={props.output}>
-          {(output) => (
-            <div data-component="tool-output" data-scrollable>
-              <Markdown text={output()} />
-            </div>
-          )}
-        </Show>
+        {/* <Show when={false && props.output}> */}
+        {/*   {(output) => ( */}
+        {/*     <div data-component="tool-output" data-scrollable> */}
+        {/*       <Markdown text={output()} /> */}
+        {/*     </div> */}
+        {/*   )} */}
+        {/* </Show> */}
       </BasicTool>
       </BasicTool>
     )
     )
   },
   },