mirror of
https://github.com/deepseek-ai/DeepSeek-V2.git
synced 2026-11-05 00:47:23 +00:00
[GH-ISSUE #54] Chat API响应的role字段不要设为null #53
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-V2#53
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 @jichulu on GitHub (Jun 5, 2024).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V2/issues/54
Chat API响应的role字段不要设为null,需要明确。
在Azure.AI.OpenAI库不支持为null的role。
@xyh0202 commented on GitHub (Jun 11, 2024):
带“finish_reason”字段的是最后一个输出chunk,只有第一个chunk有"role":"assistant"