feat: harden workflow gates and expose token usage
This commit is contained in:
@@ -135,6 +135,9 @@ function StructuredValue({ value, depth = 0 }: { value: unknown; depth?: number
|
||||
);
|
||||
}
|
||||
const entries = Object.entries(value as Record<string, unknown>);
|
||||
if (entries.length === 0) {
|
||||
return <p className="text-sm text-muted-foreground">No artifact content available.</p>;
|
||||
}
|
||||
return (
|
||||
<div className="flex flex-col">
|
||||
{entries.map(([k, v], i) => (
|
||||
|
||||
Reference in New Issue
Block a user