We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed176c1 commit a285b86Copy full SHA for a285b86
backend/apps/chat/task/llm.py
@@ -1032,7 +1032,7 @@ def run_analysis_or_predict_task(self, action_type: str):
1032
def validate_history_ds(self):
1033
_ds = self.ds
1034
if not self.current_assistant:
1035
- current_ds = self.session.exec(CoreDatasource, _ds.id)
+ current_ds = self.session.get(CoreDatasource, _ds.id)
1036
if not current_ds:
1037
raise Exception('ds is invalid')
1038
else:
0 commit comments