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.65k stars 1.83k forks source link

单智能体聊天,回复的答案会被后面的内容覆盖,导致输出的内容不完整 #1875

Open huicewang opened 2 months ago

huicewang commented 2 months ago

Search before asking

Operating system information

Windows

Python version information

=3.11

DB-GPT version

main

Related scenes

Installation Information

Device information

cpu

Models information

deepseek

What happened

image 自定义单智能体应用,答案输出只保留最后内容输出

What you expected to happen

完整的答案内容

How to reproduce

创建单智能体应用,聊天

Additional context

No response

Are you willing to submit PR?

Aries-ckt commented 1 month ago

yeah, it's a prompt problem, you can define your prompt by yourself image