eosphoros-ai / DB-GPT

AI Native Data App Development framework with AWEL(Agentic Workflow Expression Language) and Agents
http://docs.dbgpt.cn
MIT License
13.7k stars 1.84k forks source link

got an unexpected keyword argument 'language'" #2010

Open shanmu-raoyunfei opened 2 months ago

shanmu-raoyunfei commented 2 months ago

Search before asking

Operating system information

Linux

Python version information

3.10

DB-GPT version

main

Related scenes

Installation Information

Device information

macos

Models information

LLM:gpt-3.5

What happened

File "/Users/raoyunfei/worker/DB-GPT/dbgpt/util/dbgpts/loader.py", line 451, in load_package logger.warning(f"Load dbgpts package error: {e}", e) Message: "Load dbgpts package error: SummaryAction.init() got an unexpected keyword argument 'language'" Arguments: (TypeError("SummaryAction.init() got an unexpected keyword argument 'language'"),)

What you expected to happen

No error message, and the default Chinese reply

How to reproduce

Restart on startup

Additional context

No response

Are you willing to submit PR?

Aries-ckt commented 1 month ago

hi @shanmu-raoyunfei ,can you reproduce how you operate?