mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-05 00:40:13 +08:00
DeepSeek deployments without native function calling emit tool calls as 'DSML' markup in the content channel, so the exec/ppt tool never ran and the raw markup leaked as the answer. The chat loop now diverts that markup off the user-facing stream and, when a round yields no structured tool_calls, extracts the invoke/parameter envelope into real tool calls that run through the normal dispatch path.