copilot icon indicating copy to clipboard operation
copilot copied to clipboard

Error creating session summary

Open tpmccallum opened this issue 8 months ago • 0 comments

Describe the bug When viewing the logs (whilst querying the bot) the following error keeps appearing:

llm-server-1  | Error creating session summary: (pymysql.err.DataError) (1366, "Incorrect integer value: 'mB6HSlLkBj71SlFL|idyy8qur9y' for column 'id' at row 1")
llm-server-1  | [SQL: INSERT INTO session_summary (id, summary, created_at, updated_at) VALUES (%(id)s, %(summary)s, %(created_at)s, %(updated_at)s)]
llm-server-1  | [parameters: {'id': 'mB6HSlLkBj71SlFL|idyy8qur9y', 'summary': '', 'created_at': datetime.datetime(2024, 6, 18, 0, 53, 1, 318422), 'updated_at': datetime.datetime(2024, 6, 18, 0, 53, 1, 318429)}]
llm-server-1  | (Background on this error at: https://sqlalche.me/e/20/9h9h)

To Reproduce

Just use as per normal and watch the logs.

Expected behavior

The front end is still answering the questions, which is great. This is expected. However, the logs are showing this error behind the scenes.

tpmccallum avatar Jun 18 '24 00:06 tpmccallum