SWE-rebench leaderboard — July 2026 task
harbor run -t ibragim-badertdinov/sipeed__picoclaw-2928harbor download ibragim-badertdinov/sipeed__picoclaw-2928[Feature] Map thinking_level to DeepSeek thinking fields
DeepSeek is currently treated as an OpenAI-compatible provider in PicoClaw, but its thinking-mode controls do not match the internal thinking_level abstraction 1:1.
Please implement correct DeepSeek thinking mapping so that:
thinking_level: "off" automatically disables DeepSeek thinking modethinking_level config without needing manual extra_body overridesAdd DeepSeek-specific request shaping on the OpenAI-compatible path.
Suggested mapping:
thinking_level: "off" -> thinking: { "type": "disabled" }thinking_level: "high" -> thinking: { "type": "enabled" } + reasoning_effort: "high"thinking_level: "xhigh" -> thinking: { "type": "enabled" } + reasoning_effort: "max"If low / medium are kept as valid internal levels, they can follow DeepSeek's documented compatibility behavior and map to reasoning_effort: "high".
PR #2898 already introduced explicit thinking_level: "off" handling for several OpenAI-compatible providers and added provider-specific disable-field shaping.
This issue is to extend that work for DeepSeek specifically:
thinking and reasoning_effort fieldsoff is sent even when DeepSeek does not advertise generic thinking support via SupportsThinking()extra_bodyBoth alternatives are weaker because they make DeepSeek behavior inconsistent with the project-wide thinking_level abstraction.
https://api-docs.deepseek.com/zh-cn/guides/thinking_mode
DeepSeek's documented OpenAI-compatible thinking controls use:
thinking.typereasoning_effortreasoning_content in responsesPR #2898 is closely related because it establishes the explicit-off behavior and provider-specific request shaping pattern. DeepSeek appears to still need its own mapping added on top of that work.
Type: Function Name: SupportsThinking Path: pkg/providers/httpapi/http_provider.go Input: () Output: bool Description: Exposes the thinking capability of the underlying provider delegate over the HTTP API. Returns true if the delegate supports thinking; otherwise false.