Fix `undefined is not an object (evaluating 'G.title')` (#395)

pull/419/head v0.1.140
Mike Wallio 2025-06-25 19:40:09 -04:00 committed by GitHub
parent f4c0d2d2fd
commit db24bf87c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ export const RunCommand = cmd({
part.toolInvocation.toolName,
UI.Style.TEXT_INFO_BOLD,
]
printEvent(color, tool, metadata.title)
printEvent(color, tool, metadata?.title || 'Unknown')
}
if (part.type === "text") {