Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 如何让OpenRoute.AI 的 DeepSeek 也输出 推理过程? #6372

Open
liuru666 opened this issue Mar 15, 2025 · 5 comments
Open

[Bug] 如何让OpenRoute.AI 的 DeepSeek 也输出 推理过程? #6372

liuru666 opened this issue Mar 15, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@liuru666
Copy link

📦 部署方式

Docker

📌 软件版本

v2.15.8

💻 系统环境

macOS

📌 系统版本

15.3.2

🌐 浏览器

Chrome

📌 浏览器版本

134.0.6998.89

🐛 问题描述

使用 https://openrouter.ai 的API

设置

   -e DEEPSEEK_URL=https://openrouter.ai/api \
   -e DEEPSEEK_API_KEY=sk-xxx \
   -e CUSTOM_MODELS=deepseek/deepseek-r1

则直接提示 api错误

设置

-e BASE_URL=https://openrouter.ai/api 
-e CUSTOM_MODELS=deepseek/deepseek-r1
 -e OPENAI_API_KEY=sk-xxx

则 r1 可以正常使用, 但是无法输出推理过程

📷 复现步骤

No response

🚦 期望结果

openroute 的deepseek可以展示推理过程

📝 补充信息

No response

@liuru666 liuru666 added the bug Something isn't working label Mar 15, 2025
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] How to make OpenRoute.AI's DeepSeek also output the reasoning process?

📦 Deployment method

Docker

📌 Software version

v2.15.8

💻 System environment

macOS

📌 System version

15.3.2

🌐 Browser

Chrome

📌 Browser version

134.0.6998.89

🐛 Question description

Using the API using https://openrouter.ai

set up

   -e DEEPSEEK_URL=https://openrouter.ai/api \
   -e DEEPSEEK_API_KEY=sk-xxx \
   -e CUSTOM_MODELS=deepseek/deepseek-r1

It directly prompts API error

set up

-e BASE_URL=https://openrouter.ai/api
-e CUSTOM_MODELS=deepseek/deepseek-r1
 -e OPENAI_API_KEY=sk-xxx

Then r1 can be used normally, but the inference process cannot be output.

📷 Reproduction steps

No response

🚦 Expected results

The deepseek of openroute can show the reasoning process

📝 Supplementary information

No response

@QAbot-zh
Copy link

openrouter 太搞了,用了别的字段输出 reasoning_content

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


openrouter is too messy, and it uses other fields to output reasoning_content

@liuru666
Copy link
Author

openrouter 太搞了,用了别的字段输出 reasoning_content

囧, 所有有没有什么 workaround?

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


openrouter is too messy, and it uses other fields to output reasoning_content

Embarrassing, is there any workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants