mirror of
https://github.com/deepseek-ai/DeepSeek-R1.git
synced 2026-11-05 00:47:42 +00:00
[PR #45] Fix message handling in deepseek-reasoner #750
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#750
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?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/DeepSeek-R1/pull/45
Author: @jasonkneen
Created: 1/22/2025
Status: 🔄 Open
Base:
main← Head:fix-message-handling📝 Commits (2)
837e17fFix message handling in deepseek-reasoner4372071Modify message handling logic to merge successive messages of the same role📊 Changes
3 files changed (+127 additions, -3 deletions)
View changed files
📝
README.md(+35 -3)➕
deepseek_reasoner.py(+46 -0)➕
test_deepseek_reasoner.py(+46 -0)📄 Description
Fixes #21
Add support for successive user or assistant messages in
deepseek-reasoner.deepseek_reasoner.py:
process_messagesfunction to handle the new message format.README.md:
test_deepseek_reasoner.py:
For more details, open the Copilot Workspace session.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.