mirror of
https://github.com/deepseek-ai/DeepSeek-R1.git
synced 2026-11-05 00:47:42 +00:00
[GH-ISSUE #850] [Docs] Missing comma in Thinking Mode Python example #702
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-R1#702
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @isayrhythm on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-R1/issues/850
The Python examples for Thinking Mode contain a syntax error caused by a missing comma after
reasoning_effort="high".Affected pages:
English documentation
Chinese documentation
Current:
Should be:
Without the comma, the example raises a Python
SyntaxError.It appears that the same issue exists in both the English and Chinese documentation, as well as in both streaming and non-streaming examples.
I found this while trying to run the example code directly from the documentation.
Thanks.
@github-actions[bot] commented on GitHub (Jul 5, 2026):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this issue is still relevant, please leave a comment to keep it open. Thank you for your contributions!
@github-actions[bot] commented on GitHub (Jul 19, 2026):
false