opencode-think-formatter
v1.6.1
Published
OpenCode plugin to format <think> tags from exo models with styled boxes
Downloads
752
Maintainers
Readme
OpenCode Think Formatter Plugin
Plugin for OpenCode that formats <think> tags from exo models with styled boxes.
Installation
Add to your opencode.json:
{
"plugin": ["opencode-think-formatter"]
}Features
- Automatically detects
<think>...</think>tags in model responses - Formats them in a styled box with:
- Unicode box drawing characters
- 💭 Icon for visual identification
- Italic text for the thinking content
- Clean separation from the main response
Example
Before:
<think>User asks about Python. Need to explain clearly.</think>
Python is a programming language...After:
┌─────────────────────────────────────────────────────────────┐
│ 💭 Proceso de pensamiento │
├─────────────────────────────────────────────────────────────┤
│ *User asks about Python. Need to explain clearly.* │
└─────────────────────────────────────────────────────────────┘
Python is a programming language...License
MIT
