docs: share page attachment

This commit is contained in:
Jay V
2025-07-10 16:08:42 -04:00
parent c056b0add9
commit 2e5f96fa41
3 changed files with 29 additions and 6 deletions

View File

@@ -321,6 +321,7 @@ export default function Share(props: {
const filteredParts = createMemo(() =>
msg.parts.filter((x, index) => {
if (x.type === "step-start" && index > 0) return false
if (x.type === "text" && x.synthetic === true) return false
if (x.type === "tool" && x.tool === "todoread") return false
if (x.type === "text" && !x.text) return false
if (x.type === "tool" && (x.state.status === "pending" || x.state.status === "running"))