[PR #57] [CLOSED] Add proxy configuration support in .env.example and base_client #114

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

📋 Pull Request Information

Original PR: https://github.com/ErlichLiu/DeepClaude/pull/57
Author: @daytime001
Created: 2/27/2025
Status: Closed

Base: mainHead: fix_debug_issue47


📝 Commits (3)

  • a0df48a Add proxy configuration support in .env.example and base_client
  • adf5b70 The modified comment is consistent with the original item.
  • cd4f6d4 Adjust code format

📊 Changes

2 files changed (+16 additions, -2 deletions)

View changed files

📝 .env.example (+4 -0)
📝 app/clients/base_client.py (+12 -2)

📄 Description

本地部署完成后,调用api请求deepgemini模型报以下错误:

经排查后发现问题出在代理上,在调用gemini时对网络有要求,因此设置了两个代理相关的环境变量USE_PROXYPROXY_URL,并在base_client文件中进行了相应修改。

修改完成后可供用户自主选择是否使用代理,如Gemini等模型则必须使用,其它选择直连即可


🔄 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/57 **Author:** [@daytime001](https://github.com/daytime001) **Created:** 2/27/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix_debug_issue47` --- ### 📝 Commits (3) - [`a0df48a`](https://github.com/ErlichLiu/DeepClaude/commit/a0df48acae41e7ad98106349218ff61955be73f2) Add proxy configuration support in .env.example and base_client - [`adf5b70`](https://github.com/ErlichLiu/DeepClaude/commit/adf5b70b9ba76b1f6648b851bf2a7d4bd7ab4cb8) The modified comment is consistent with the original item. - [`cd4f6d4`](https://github.com/ErlichLiu/DeepClaude/commit/cd4f6d41406fead69447cf8bc95826f22b829386) Adjust code format ### 📊 Changes **2 files changed** (+16 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+4 -0) 📝 `app/clients/base_client.py` (+12 -2) </details> ### 📄 Description 本地部署完成后,调用api请求deepgemini模型报以下错误: ![](https://daytime001-picturebed.oss-cn-nanjing.aliyuncs.com/typora/bug.jpg) 经排查后发现问题出在代理上,在调用gemini时对网络有要求,因此设置了两个代理相关的环境变量`USE_PROXY`和`PROXY_URL`,并在`base_client`文件中进行了相应修改。 修改完成后可供用户自主选择是否使用代理,如Gemini等模型则必须使用,其它选择直连即可 --- <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:16 +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#114
No description provided.