Commit Graph
1 Commits
Author SHA1 Message Date
can1357 b08d951115 feat(ai): demoted cross-provider thinking to canonical dialect text
- Implement `renderDemotedThinking` to encapsulate reasoning from prior turns when switching models across providers.
- Render reasoning in the target model's canonical thinking dialect (e.g., Markdown fences) to preserve context while ensuring the blocks are processed as reasoning.
- Use a neutral `<think>` tag fallback for models where canonical native formatting risks leaking incompatible chat-template instrumentation tokens.
2026-06-27 07:56:31 +02:00