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
Since the morning of 2026-09-22 (starting 02:21 UTC), tool calling on deepseek-v4.1-flash has regressed: the model no longer returns the standard tool_calls field. Instead, DeepSeek's internal DSML tool-call markup is emitted as plain text inside content, making it unparseable for any agent client that relies on standard tool_calls.
Environment
Client: pi-coding-agent (0.86.1 / 0.87.0 — behavior identical on both, ruling out a client regression)
Model: deepseek-v4.1-flash
API: OpenAI-compatible endpoint, with tools defined in the request body
Affected window: 2026-09-22 10:21 – 10:56 (UTC+8), for server-side log lookup
Time | Status
-- | --
Sep 16 – 21 | Tool calling fully normal — ~420 responses with parsed tool_calls, zero anomalies
Sep 22, 10:21 onward | Identical requests start returning the leaked format; 100% reproducible across retries
Sep 22, 10:49 | Client upgraded to 0.87.0 — no change, ruling out a client regression
Sep 22, 11:00 | Switching to glm-5.3-flash restores normal tool calling — issue specific to deepseek-family models
Hello, @xdxiebug unfortunately this seems like a bug on Pi. We aren't seeing any reports for these issues on the Command Code CLI. Have you tried reproducing the same on Command Code.
Command Code ranks #1 on benchmark results with Deepseek v4.1 flash, above Pi and even the Deepseek Harness. Would recommend using Command Code harness only for best results.
Activity
xdxiebug commentedon Sep 22, 2026
If this cannot be resolved, I will cancel my subscription.
vipulgupta2048 commentedon Sep 25, 2026
Hello, @xdxiebug unfortunately this seems like a bug on Pi. We aren't seeing any reports for these issues on the Command Code CLI. Have you tried reproducing the same on Command Code.
Command Code ranks #1 on benchmark results with Deepseek v4.1 flash, above Pi and even the Deepseek Harness. Would recommend using Command Code harness only for best results.