Skip to content

Commit cc46273

Browse files
fix(autofix): Stream content with streaming variant, drop thinking_content fallback
The artifact loading card renders the streamed content from `message.content`. Apply the `streaming` variant to `<Markdown>` and drop the `thinking_content` fallback — streamed output is in `content`, not `thinking_content`. Also removes the stale 'Thinking...' sentinel check that is no longer sent by the backend. Co-Authored-By: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
1 parent 7af706b commit cc46273

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

static/app/components/events/autofix/v3/artifactLoadingDetails.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,8 @@ export function ArtifactLoadingDetails({
3939
return null;
4040
}
4141

42-
if (block.message.content && block.message.content !== 'Thinking...') {
43-
return <Markdown key={index} raw={block.message.content} />;
44-
}
45-
46-
if (block.message.thinking_content) {
47-
return <Markdown key={index} raw={block.message.thinking_content} />;
42+
if (block.message.content) {
43+
return <Markdown key={index} raw={block.message.content} variant="streaming" />;
4844
}
4945

5046
return null;

0 commit comments

Comments
 (0)