MCPcopy Index your code
hub / github.com/dataease/SQLBot / init_record

Method init_record

backend/apps/chat/task/llm.py:303–305  ·  view source on GitHub ↗
(self, session: Session)

Source from the content-addressed store, hash-verified

301 self.chart_message.append(_msg)
302
303 def init_record(self, session: Session) -> ChatRecord:
304 self.record = save_question(session=session, current_user=self.current_user, question=self.chat_question)
305 return self.record
306
307 def get_record(self):
308 return self.record

Callers 1

stream_sqlFunction · 0.80

Calls 1

save_questionFunction · 0.90

Tested by

no test coverage detected