DB-GPT icon indicating copy to clipboard operation
DB-GPT copied to clipboard

[Bug] [Module Name] The agent will not pass on the information about the cause of the previous error to the LLM for targeted analysis and reflection during the trial-and-error process?

Open yuerf opened this issue 6 months ago • 0 comments

Search before asking

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

Operating system information

Linux

Python version information

=3.11

DB-GPT version

main

Related scenes

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

Installation Information

Device information

Models information

What happened

在调用某个智能体执行任务时,若发生错误LLM进行重试的时候,会检索最新的观察信息(most recent observation),但是信息中不包括错误原因?比如说某个字段不存在与某张表内。如果是这样LLM根据什么进行修正呢,导致每次都会生成一样的错误结果 image

What you expected to happen

chat agent

How to reproduce

Additional context

No response

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

yuerf avatar Aug 08 '24 01:08 yuerf