[PR #3] [MERGED] add support to openrouter claude api #94

Closed
opened 2026-02-27 01:56:12 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ErlichLiu/DeepClaude/pull/3
Author: @psylch
Created: 2/3/2025
Status: Merged
Merged: 2/3/2025
Merged by: @ErlichLiu

Base: mainHead: feature/support-openrouter


📝 Commits (2)

  • 3eb2279 add support to openrouter
  • 2d9f5cf Merge branch 'main' into feature/support-openrouter

📊 Changes

5 files changed (+71 additions, -27 deletions)

View changed files

📝 .env.example (+13 -6)
📝 app/clients/claude_client.py (+43 -17)
📝 app/clients/deepseek_client.py (+1 -1)
📝 app/deepclaude/deepclaude.py (+5 -2)
📝 app/main.py (+9 -1)

📄 Description

改动说明

添加了对 OpenRouter 的支持

主要更改

  • 在claude_client.py 添加了对openrouter提供的的claude3.5sonnet的支持
  • 在.env之中增加了判断是否是openrouter, 并在deepclaude.py和main.py进行了支持

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ErlichLiu/DeepClaude/pull/3 **Author:** [@psylch](https://github.com/psylch) **Created:** 2/3/2025 **Status:** ✅ Merged **Merged:** 2/3/2025 **Merged by:** [@ErlichLiu](https://github.com/ErlichLiu) **Base:** `main` ← **Head:** `feature/support-openrouter` --- ### 📝 Commits (2) - [`3eb2279`](https://github.com/ErlichLiu/DeepClaude/commit/3eb22790660892a983bf3c3dd1a383a9dfbce6a5) add support to openrouter - [`2d9f5cf`](https://github.com/ErlichLiu/DeepClaude/commit/2d9f5cf7d059d20af6b54539ee5a0b18c889bc6f) Merge branch 'main' into feature/support-openrouter ### 📊 Changes **5 files changed** (+71 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+13 -6) 📝 `app/clients/claude_client.py` (+43 -17) 📝 `app/clients/deepseek_client.py` (+1 -1) 📝 `app/deepclaude/deepclaude.py` (+5 -2) 📝 `app/main.py` (+9 -1) </details> ### 📄 Description ## 改动说明 添加了对 OpenRouter 的支持 ## 主要更改 - 在claude_client.py 添加了对openrouter提供的的claude3.5sonnet的支持 - 在.env之中增加了判断是否是openrouter, 并在deepclaude.py和main.py进行了支持 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 01:56:12 +03:00
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
starred/DeepClaude#94
No description provided.