Open fluentlymos opened 2 months ago
i made one more update for this issue since seems i find something related: in api_editor_v1: used :chart_edit_context.con_uid however, the type: chart_edit_context:ChatChartEditContext didn't have the filed named con_uid but conv_uid instead. i try to change the con_uid to conv_uid in api_editor_v1, but have other error related to meta_db_history: the context will be Nonetype since there is no message transfer but have message ids. not sure the logic here. is i made it updated and hope this can help you guys troubleshooting. I'm not a coding engineer, so i'm not familar with the system to raise a bug with the env. just let me know i you need more information.
Search before asking
Operating system information
Windows
Python version information
3.10
DB-GPT version
main
Related scenes
Installation Information
[X] Installation From Source
[ ] Docker Installation
[ ] Docker Compose Installation
[ ] Cluster Installation
[ ] AutoDL Image
[ ] Other
Device information
CPU,3060
Models information
LLM: WENXIN EMBEDDED: text2vec-large-chinese
What happened
I setup a database by sqlite3 and get the connect with dbgpt. when i start to make the conversition. like: analysis the data. the gpt response me with a SQL however it isn't work. So i change the sql in editor and click the save button. I'm sure the sql i change works will in sqliteStudio. however, i get error in background: i didn't change the source code and according to the error message it seams that there are two fileds with the similar name. please help to have a check, thanks.
What you expected to happen
the error message in backgournd shows: 'ChatChartEditContext' object has no attribute 'con_uid'. Did you mean: 'conv_uid'? and that means there are two fields with the similar name . and there is no response after all actions.
How to reproduce
Additional context
No response
Are you willing to submit PR?