mirror of
https://github.com/ErlichLiu/DeepClaude.git
synced 2026-04-25 05:05:57 +03:00
[PR #57] [CLOSED] Add proxy configuration support in .env.example and base_client #114
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#114
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/57
Author: @daytime001
Created: 2/27/2025
Status: ❌ Closed
Base:
main← Head:fix_debug_issue47📝 Commits (3)
a0df48aAdd proxy configuration support in .env.example and base_clientadf5b70The modified comment is consistent with the original item.cd4f6d4Adjust 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_PROXY和PROXY_URL,并在base_client文件中进行了相应修改。修改完成后可供用户自主选择是否使用代理,如Gemini等模型则必须使用,其它选择直连即可
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.