Skip to content

Commit 7886392

Browse files
committed
fix: select_datasource id error
1 parent c5f8146 commit 7886392

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/apps/chat/task/llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def select_datasource(self):
439439
_ds = self.out_ds_instance.get_ds(data['id'])
440440
self.ds = _ds
441441
self.chat_question.engine = _ds.type
442-
self.chat_question.db_schema = self.out_ds_instance.get_db_schema(ds.id)
442+
self.chat_question.db_schema = self.out_ds_instance.get_db_schema(self.ds.id)
443443
_engine_type = self.chat_question.engine
444444
_chat.engine_type = _ds.type
445445
else:

0 commit comments

Comments
 (0)