mirror of
https://github.com/ErlichLiu/DeepClaude.git
synced 2026-04-25 13:15:54 +03:00
[PR #20] [CLOSED] 新增base_client设置请求超时 #100
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#100
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/20
Author: @GowayLee
Created: 2/7/2025
Status: ❌ Closed
Base:
main← Head:dev📝 Commits (4)
90efdccfeat: base_client增加timeout设置e5d2608refactor: 删除剩余deepseek provider残留eb76e5cMerge branch 'main' into dev8a674b7Merge branch 'ErlichLiu:main' into dev📊 Changes
3 files changed (+80 additions, -28 deletions)
View changed files
📝
app/clients/base_client.py(+70 -19)📝
app/clients/deepseek_client.py(+1 -2)📝
app/deepclaude/deepclaude.py(+9 -7)📄 Description
主要更改
base_client.py中增加time_out设置 #17deepclaude.pydeepseek_client.py中删除剩余的DEEPSEEK_PROVIDER相关变量(已弃用)更改说明
1.
base_client.pyaiohttp.ClientTimeout设定请求超时.base_client实例化时赋有成员变量DEFAULT_TIMEOUT作为默认超时._make_request方法支持aiohttp.ClientTimeout类型参数传入.aiohttp.TCPConnector优化连接池.2.
deepclaude.pydeepseek_client.py删除剩余的
DEEPSEEK_PROVIDER相关变量.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.