Skip to content

Commit de330a6

Browse files
committed
fix: attribute exception
1 parent 8bfd088 commit de330a6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

sebastian/controllers/chat_controller.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ async def chat_with_text(
2929
status_code=status.HTTP_404_NOT_FOUND,
3030
detail="Language required."
3131
)
32-
print(memory.meta_data["memories"])
32+
print(response)
33+
print(memory)
3334
return {
3435
"response": response,
3536
"memory": memory
@@ -54,6 +55,8 @@ async def chat_with_audio(
5455
status_code=status.HTTP_404_NOT_FOUND,
5556
detail="Language required."
5657
)
58+
print(response)
59+
print(memory)
5760
return {
5861
"response": response,
5962
"memory": memory

0 commit comments

Comments
 (0)