| Filename | Latest commit message | Latest commit date |
|---|---|---|
- Import extractReasoningMiddleware and wrapLanguageModel from AI SDK - Wrap reasoning-capable models with extractReasoningMiddleware - Use 'think' as tagName to parse <think> XML blocks from models - Enable startWithReasoning option to handle models missing reasoning tags - Extract reasoning from result.reasoning after stream completes - Remove manual reasoning event handling and provider-specific config This fixes the issue where thinking blocks appeared as raw XML tags instead of parsed reasoning content. The middleware automatically extracts reasoning from <think> tags and exposes it via result.reasoning. |
||
| .. | ||
| chat-ui | ||
| example-server/vengabus | ||
| inspector | ||