diff --git a/packages/frontend/components/blocks/RunInputOutput.tsx b/packages/frontend/components/blocks/RunInputOutput.tsx index b2eeb238..10924792 100644 --- a/packages/frontend/components/blocks/RunInputOutput.tsx +++ b/packages/frontend/components/blocks/RunInputOutput.tsx @@ -26,9 +26,6 @@ const isChatMessages = (obj) => { typeof obj.content === "string" } -// This is the component that renders the input and output of a run -// It also allow redirecting to the playground or sharing the run - const ParamItem = ({ name, value, @@ -53,7 +50,7 @@ const ParamItem = ({ ) : Array.isArray(value) ? ( value.map((v, i) => ( - + {v} )) @@ -208,6 +205,7 @@ export default function RunInputOutput({ + a )} /> - {PARAMS.map( ({ key, name, render }) => typeof run.params?.[key] !== "undefined" && ( @@ -230,11 +227,9 @@ export default function RunInputOutput({ /> ), )} - {run.tags?.length > 0 && ( )} - {Object.entries(run.metadata || {}).map(([key, value]) => { if (!value || value.hasOwnProperty("toString")) { return null