Skip to content

fix(router): disable DeepSeek reasoning and use 256 output tokens - #886

Merged
zomux merged 1 commit into
developfrom
codex/router-no-reasoning
Oct 28, 2026
Merged

zomux merged 1 commit into
developfrom
codex/router-no-reasoning

Conversation

@zomux

@zomux zomux commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Production's DeepSeek router exhausted its 30-token budget on reasoning and returned empty classifications, causing clear follow-up requests to display an agent picker. A live gateway probe reproduced the empty, length-limited response; disabling thinking returned the correct recipient with zero reasoning tokens.

Set conversation routing to 256 output tokens and send thinking: {type: "disabled"} for DeepSeek models over the OpenAI-compatible API. This covers proactive human classification and agent handoffs; other models do not receive the DeepSeek-specific option. Prompt and UI behavior are unchanged.

Validation: 169 tests pass across LLM routing, routing choices, completion routing, response modes, and thread collaboration. Includes request compatibility checks for DeepSeek, OpenAI, and Anthropic in both human and agent routing paths.

@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openagents-workspace Building Building Preview Oct 28, 2026 8:33am UTC

Request Review

@zomux
zomux merged commit 00033d3 into develop Oct 28, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 1aeffd27 Deployed Oct 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant