fix bug
This commit is contained in:
@@ -33,7 +33,7 @@ async def message_callback(room: MatrixRoom, event: RoomMessageAudio):
|
||||
filelikeobj = io.BytesIO(resp.body)
|
||||
filelikeobj.name = "matrixaudio.ogg"
|
||||
# get prompt
|
||||
rows = await client.db.execute(
|
||||
rows = await client.db.fetch_all(
|
||||
query="""select content from (
|
||||
select role, content, sum(token) over (partition by root order by id desc) as total_token
|
||||
from memories
|
||||
|
||||
Reference in New Issue
Block a user