[PR #104] [MERGED] Feat/allow proxy by model #120

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

📋 Pull Request Information

Original PR: https://github.com/ErlichLiu/DeepClaude/pull/104
Author: @warjiang
Created: 3/21/2025
Status: Merged
Merged: 3/22/2025
Merged by: @GowayLee

Base: mainHead: feat/allow-proxy-by-model


📝 Commits (3)

  • 39325ee feat: split proxy for reasoner and target model
  • dd8fbb4 chore: update sample configs
  • bf9cdad feat: add proxy-open options in web ui

📊 Changes

6 files changed (+43 additions, -17 deletions)

View changed files

📝 app/deepclaude/deepclaude.py (+6 -4)
📝 app/manager/model_manager.py (+7 -2)
📝 app/model_manager/model_configs.json (+14 -7)
📝 app/openai_composite/openai_composite.py (+6 -4)
📝 frontend/index.html (+8 -0)
📝 frontend/js/config.js (+2 -0)

📄 Description

When I used the deepgeminiflash composite model, I need to config the proxy for the gemini model, but there is no need to set the proxy config for deepseek, the deepseek api should be visited directly. Currenty, I config the traffic split rules in the clash, but it's a little bit complex, so I want to split the proxy config to make it more flexible.

the working log as following:
image


🔄 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/104 **Author:** [@warjiang](https://github.com/warjiang) **Created:** 3/21/2025 **Status:** ✅ Merged **Merged:** 3/22/2025 **Merged by:** [@GowayLee](https://github.com/GowayLee) **Base:** `main` ← **Head:** `feat/allow-proxy-by-model` --- ### 📝 Commits (3) - [`39325ee`](https://github.com/ErlichLiu/DeepClaude/commit/39325eeb402e1151d3a21d85cd958ae2d0bc0158) feat: split proxy for reasoner and target model - [`dd8fbb4`](https://github.com/ErlichLiu/DeepClaude/commit/dd8fbb4726f0297852d6d983e698bd6ab69fe69b) chore: update sample configs - [`bf9cdad`](https://github.com/ErlichLiu/DeepClaude/commit/bf9cdadb6314905680d8b37e426199903daed5ef) feat: add proxy-open options in web ui ### 📊 Changes **6 files changed** (+43 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `app/deepclaude/deepclaude.py` (+6 -4) 📝 `app/manager/model_manager.py` (+7 -2) 📝 `app/model_manager/model_configs.json` (+14 -7) 📝 `app/openai_composite/openai_composite.py` (+6 -4) 📝 `frontend/index.html` (+8 -0) 📝 `frontend/js/config.js` (+2 -0) </details> ### 📄 Description When I used the deepgeminiflash composite model, I need to config the proxy for the gemini model, but there is no need to set the proxy config for deepseek, the deepseek api should be visited directly. Currenty, I config the traffic split rules in the clash, but it's a little bit complex, so I want to split the proxy config to make it more flexible. the working log as following: ![image](https://github.com/user-attachments/assets/0d7d1a94-819e-4754-8a63-787b45f5450c) --- <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:18 +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#120
No description provided.