[GH-ISSUE #348] [BUG]调用 DeepSeek API 时返回与 OpenAI 相关的内容 #160

Closed
opened 2026-10-26 21:15:45 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @Coders-by on GitHub (Jan 26, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V3/issues/348

问题描述
调用 DeepSeek API,在问及当前模型版本及其开发者时,返回 OpenAI 相关内容。

复现方法
执行以下脚本即可复现(注意替换你的 API-KEY):

curl https://api.deepseek.com/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <DeepSeek API-KEY>" \
  -d '{
        "model": "deepseek-chat",
        "messages": [
          {"role": "system", "content": "You are a helpful assistant."},
          {"role": "user", "content": "y=x^2与x轴、x=2一起围成的面积是多少?请给出具体计算过程。另外,你是什么版本的模型?由谁开发?"}
        ],
        "stream": false
      }'

预期行为
在任何情况下,当询问当前模型版本及其开发者时,返回的都应该是与 DeepSeek 相关的内容。

对比实验截图

Image
Originally created by @Coders-by on GitHub (Jan 26, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V3/issues/348 **问题描述** 调用 DeepSeek API,在问及当前模型版本及其开发者时,返回 OpenAI 相关内容。 **复现方法** 执行以下脚本即可复现(注意替换你的 API-KEY): ``` curl https://api.deepseek.com/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer <DeepSeek API-KEY>" \ -d '{ "model": "deepseek-chat", "messages": [ {"role": "system", "content": "You are a helpful assistant."}, {"role": "user", "content": "y=x^2与x轴、x=2一起围成的面积是多少?请给出具体计算过程。另外,你是什么版本的模型?由谁开发?"} ], "stream": false }' ``` **预期行为** 在任何情况下,当询问当前模型版本及其开发者时,返回的都应该是与 DeepSeek 相关的内容。 **对比实验截图** <img width="1512" alt="Image" src="https://github.com/user-attachments/assets/e0c47350-f2da-4970-be02-df8546842a65" />
Author
Owner

@mowentian commented on GitHub (Jan 26, 2025):

这是一个关于大模型自我认知的问题,你可以参考其他的issue,比如 #311 #20 ,还有互联网相关话题以获得更多的信息

<!-- gh-comment-id:2614445825 --> @mowentian commented on GitHub (Jan 26, 2025): 这是一个关于大模型自我认知的问题,你可以参考其他的issue,比如 #311 #20 ,还有互联网相关话题以获得更多的信息
Author
Owner

@Coders-by commented on GitHub (Jan 26, 2025):

您的项目书已收到,预祝您取得好成绩!

<!-- gh-comment-id:2614446015 --> @Coders-by commented on GitHub (Jan 26, 2025): 您的项目书已收到,预祝您取得好成绩!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepSeek-V3#160
No description provided.