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.34k stars 1.77k forks source link

[Bug] [Agent] self.actions.append(action(language=self.language)) TypeError: SummaryAction.__init__() got an unexpected keyword argument 'language' #2040

Open long135 opened 4 hours ago

long135 commented 4 hours ago

Search before asking

Operating system information

Windows

Python version information

3.10

DB-GPT version

latest release

Related scenes

Installation Information

Device information

gpu

Models information

yi:9b

What happened

when I custom agent like doc: https://www.yuque.com/eosphoros/dbgpt-docs/de03l1n9kkg661wi#, I use "dbgpt new app -t agent --definition_type python -n test_agent2" create agent in my local reposity, then I use "dbgpt app install -r local/dbgpts test_agent2" to install this agent. then i got this problem

What you expected to happen

install the agent to project

How to reproduce

1.dbgpt new app -t agent --definition_type python -n test_agent2 2.dbgpt app install -r local/dbgpts test_agent2

Additional context

No response

Are you willing to submit PR?

long135 commented 4 hours ago

this is my agent in local reposity

Snipaste_2024-09-24_11-18-39
long135 commented 4 hours ago

图片