mirror of
https://github.com/sst/opencode.git
synced 2025-08-04 13:30:52 +00:00
share page hide step-finish events
This commit is contained in:
parent
1254f48135
commit
5c3d490e59
1 changed files with 1 additions and 0 deletions
|
@ -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 === "step-finish") 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue