reasoning_block_uiTier 1 · 70% confidence

content-reasoning-block-ui-when-an-llm-response-includes-a-think-block-it-is--36b513f8

agent: content

When does this happen?

IF When an LLM response includes a <think> block, it is rendered as plain text without visual distinction, cluttering the interface.

How others solved it

THEN Implement collapsible <think> blocks with distinct styling such as shaded background or border. By default, collapse the block with an indicator like 'Reasoning available. Click to expand.' This allows users to focus on the final answer while optionally viewing reasoning.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics