Skip to content

feat(config): default reasoning effort to max#36

Merged
yxlao merged 1 commit intomainfrom
yixing/reasoning-effort
May 4, 2026
Merged

feat(config): default reasoning effort to max#36
yxlao merged 1 commit intomainfrom
yixing/reasoning-effort

Conversation

@yxlao
Copy link
Copy Markdown
Owner

@yxlao yxlao commented May 4, 2026

Summary

Changed the default reasoning effort from "high" to "max" for stronger reasoning output, updated request logging to include the effort value, and simplified the transform logic.

Changes Made

  • config.py: Changed DEFAULT_REASONING_EFFORT from "high" to "max"
    • Cursor by default, does not give us a reasoning effort value. The reasoning effort is purely determined by the proxy.
  • server.py:
    • Updated --reasoning-effort help text to reflect new default
    • Added effort=%s with config.reasoning_effort to cursor request log
    • Lowercased log labels ("Cursor Base URL""api base url", "┌ cursor" prefix cleanup)
  • transform.py: Simplified reasoning_effort assignment in prepare_upstream_request to directly use config.reasoning_effort, removing the fallback to prepared.get("reasoning_effort")

@yxlao yxlao force-pushed the yixing/reasoning-effort branch from 379d87c to 9b5a31d Compare May 4, 2026 10:18
@yxlao yxlao merged commit 3ed8da6 into main May 4, 2026
6 checks passed
@yxlao yxlao deleted the yixing/reasoning-effort branch May 4, 2026 10:28
maThiaslI152 added a commit to maThiaslI152/deepseek-cursor-proxy that referenced this pull request May 6, 2026
Merges 6 upstream commits from yxlao/deepseek-cursor-proxy:
- feat(streaming): add collapsible reasoning display (yxlao#32)
- refactor(proxy): audit thinking-mode protocol and refactor test suite (yxlao#33)
- fix(server): honor missing-reasoning reject mode (yxlao#34)
- fix: prevent recovery cascade and improve Stop-scenario reasoning lookup (yxlao#25)
- feat(config): default reasoning effort to max (yxlao#36)
- refactor(logging): simplified prints and add spinner (yxlao#37)

Combines both branches' changes:
- Concurrent request deduplication (ours) + dual-scope recording (upstream)
- Broad namespace cache keys (ours) + portable tool_name keys (upstream)
- Spinner, build_arg_parser, main() function (upstream)
- Metrics tracking, schema migration, graceful shutdown (ours)

Co-authored-by: Cursor <cursoragent@cursor.com>
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