You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
opencode does not send a default top_p for deepseek-v4-flash, so requests go out with the API default (1.0). DeepSeek recommends top_p = 0.95 (with temperature = 1.0) for agentic scenarios with this model, and OpenCode is a coding agent:
opencode already sets top_p = 0.95 for minimax-m2 and the kimi-k2.5 family, so deepseek-v4-flash should follow the same treatment. The match should be scoped to deepseek-v4-flash only, since other deepseek models (deepseek-chat / reasoner / v3 / v4-pro) have different official guidance.
Plugins
None
OpenCode version
dev branch
Steps to reproduce
Run opencode with deepseek-v4-flash
Observe the request payload: no top_p is set (falls back to 1.0), while 0.95 is the recommended value for agentic use
Activity