ds4
ds4 copied to clipboard
documentation: Pi Agent example has thinking modes wrong
The README says:
DeepSeek V4 Flash has distinct non-thinking, thinking, and Think Max modes.
The same README has this in the Pi Agent configuration example:
"thinkingLevelMap": {
"off": null,
"minimal": "low",
"low": "low",
"medium": "medium",
"high": "high",
"xhigh": "xhigh"
},
Assuming the non-thinking, thinking, thinkmax is right, there are these problems in the Pi example:
"off": nullone means "off is not supported, do not present it to the user", effectively masking the non-thinking mode from the users- minimal trough xhigh are actually all mapped to "Thinking" by the model
- max is masked from the users
I have not yet been able to test it against ds4, but this mapping is more in line with the declared thinking modes:
"thinkingLevelMap": {
"off": "off",
"minimal": null,
"low": null,
"medium": null,
"high": "high",
"xhigh": null,
"max": "max"
},
See also (related): https://github.com/antirez/ds4/pull/704
Picking this up — will fix the Pi Agent thinkingLevelMap example in the README to match DeepSeek V4 Flash's non-thinking / thinking / Think Max modes.