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.75k stars 1.86k forks source link

fix: Fix long message response error #2051

Closed noahc1510 closed 1 month ago

noahc1510 commented 1 month ago

Description

When I chat with a large database, the LLM will response a large content. The pymysql will feedback this error message: Data too long for column 'message_detail' at row 1. This PR change the type of message_detail from text to longtext.

How Has This Been Tested?

Reproduct that case I wrote before, the bug has been fix.

Snapshots:

Checklist: