Preserve reasoning #16
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_shrimp#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
See, eg: https://openrouter.ai/docs/guides/best-practices/reasoning-tokens#preserving-reasoning
Based on my read this is generally the correct approach, especially in tool using scenarios. Also some models, like notably DeepSeek v4, will error if the reasoning blocks aren't passed back (this doesn't appear to happen consistently across OpenRouter providers, but it does happen in the official API).