mirror of
https://github.com/ErlichLiu/DeepClaude.git
synced 2026-04-25 05:05:57 +03:00
[PR #26] [CLOSED] 增加OpenRouter作为DeepSeek Provider的支持 #103
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DeepClaude#103
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/ErlichLiu/DeepClaude/pull/26
Author: @sunqiuming526
Created: 2/8/2025
Status: ❌ Closed
Base:
main← Head:feature/deepseek-support-openrouter-provider📝 Commits (1)
d0b75fcadded deepseek support for openrouter as provider📊 Changes
4 files changed (+11 additions, -4 deletions)
View changed files
📝
.env.example(+1 -0)📝
app/clients/deepseek_client.py(+6 -3)📝
app/deepclaude/deepclaude.py(+2 -1)📝
app/main.py(+2 -0)📄 Description
OpenRouter对于DeepSeek R1相关的模型的字段和官方API用到的字段有细微差别:
因此这个PR通过在.env中设置
DEEPSEEK_PROVIDER=openrouter解决上述问题。另外有一个问题想问作者: 在修改代码时看到在deepseek_client中有is_origin_reasoning的相关判断逻辑, 请问这个origin reasoning是出于什么考量, 在代码中好像没有看到相关描述. 谢谢!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.