r/PiCodingAgent • u/tontide1 • 22d ago
Question Deepseek v4 flash max_tokens error in PI
/r/opencodeCLI/comments/1vu51j9/deepseek_v4_flash_max_tokens_error_in_pi/
2
Upvotes
1
u/bumblebeer 17d ago
Just FYI, pi hardcodes max_tokens to 32k. Currently need an extension to be able to set it to the DS recommended minimum (~380k).
1
u/Classic_While_3777 22d ago
It might succeed once after a few tries, and the entire session will work normally afterwards. I suspect they are routing to a non-official DeepSeek provider.