I ran into a bug in Kagi Assistant related to a conversation thread.
The thread is about three months old and has been working fine until now. Today, however, the response generation got stuck once, so I edited my previous prompt and submitted it again. That worked, and a response was generated successfully. But every subsequent prompt now fails with an error.
The error starts with:
Input Validation failed: [{'type': 'value_error', 'loc': ('messages',), 'msg': 'Value error, Number of messages must be odd number',
And ends with:
In between, there’s an array containing all the messages in the thread.
'ctx': {'error': ValueError('Number of messages must be odd number')}, 'url': 'https://errors.pydantic.dev/2.12/v/value_error'}]
This prevents me from continuing the conversation, which is quite important to me. Since it’s not possible to fork a thread or create a branch, Assistant has effectively become unusable for my workflow.
Chat Id is: 043deb43-342c-5a13-8976-5a964a3ec16b