Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [Module Name] Bug title deepseek 报错 ypeError: AsyncClient.__init__() got an unexpected keyword argument 'proxies' #2352

Open
1 of 15 tasks
LHT2019 opened this issue Feb 17, 2025 · 0 comments
Labels
bug Something isn't working Waiting for reply

Comments

@LHT2019
Copy link

LHT2019 commented Feb 17, 2025

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Windows

Python version information

3.10

DB-GPT version

main

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

cpu

Models information

deepseek_proxyllm

What happened

dbgpt.model.cluster.worker.default_worker[31692] ERROR Model inference error, detail: Traceback (most recent call last):
File "d:\项目\db-gpt-0.6.2_statics\dbgpt\model\cluster\worker\default_worker.py", line 248, in async_generate_stream
async for output in generate_stream_func(
File "d:\项目\db-gpt-0.6.2_statics\dbgpt\model\proxy\llms\deepseek.py", line 32, in deepseek_generate_stream
async for r in client.generate_stream(request):
File "d:\项目\db-gpt-0.6.2_statics\dbgpt\model\proxy\llms\chatgpt.py", line 233, in generate_stream
async for r in self.generate_stream_v1(messages, payload):
File "d:\项目\db-gpt-0.6.2_statics\dbgpt\model\proxy\llms\chatgpt.py", line 261, in generate_stream_v1
chat_completion = await self.client.chat.completions.create(
File "d:\项目\db-gpt-0.6.2_statics\dbgpt\model\proxy\llms\chatgpt.py", line 164, in client
self._api_type, self._client = _build_openai_client(
File "d:\项目\db-gpt-0.6.2_statics\dbgpt\model\utils\chatgpt_utils.py", line 156, in _build_openai_client
**openai_params, http_client=httpx.AsyncClient(proxies=init_params.proxies)
TypeError: AsyncClient.init() got an unexpected keyword argument 'proxies'

What you expected to happen

。。。

How to reproduce

。。。

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@LHT2019 LHT2019 added bug Something isn't working Waiting for reply labels Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting for reply
Projects
None yet
Development

No branches or pull requests

1 participant