mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 17:26:55 +08:00
fix: select_datasource id error
This commit is contained in:
@@ -439,7 +439,7 @@ class LLMService:
|
||||
_ds = self.out_ds_instance.get_ds(data['id'])
|
||||
self.ds = _ds
|
||||
self.chat_question.engine = _ds.type
|
||||
self.chat_question.db_schema = self.out_ds_instance.get_db_schema(ds.id)
|
||||
self.chat_question.db_schema = self.out_ds_instance.get_db_schema(self.ds.id)
|
||||
_engine_type = self.chat_question.engine
|
||||
_chat.engine_type = _ds.type
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user