The community member reports a bug in the openrouter API where the previous assistant message is intermittently appended to the next assistant message. However, the issue is resolved when the community member swaps out the Create chat completion for OpenAI.
When using the openrouter API in the normal chat loop there is a bug that means the previous assistant message is appended to the next assistant message intermittantly. But as soon as swap out the Create chat completion for open ai the issue goes away.