fix bug
This commit is contained in:
@@ -264,7 +264,6 @@ class AIChatSession:
|
|||||||
return self.owner_id
|
return self.owner_id
|
||||||
|
|
||||||
def read_history(self, number:int=10,offset=0) -> [AgentMsg]:
|
def read_history(self, number:int=10,offset=0) -> [AgentMsg]:
|
||||||
return []
|
|
||||||
msgs = self.db.get_messages(self.session_id, number, offset)
|
msgs = self.db.get_messages(self.session_id, number, offset)
|
||||||
result = []
|
result = []
|
||||||
for msg in msgs:
|
for msg in msgs:
|
||||||
|
|||||||
Reference in New Issue
Block a user