I'm doing calls to the OpenRouter API using a custom frontend.
They look like this:
{
"model": "deepseek/deepseek-chat",
"messages": [
{
"role": "system",
"content": ""
},
{
"role": "user",
"content": "Tell me a story about a blue dog."
},
{
"role": "assistant",
"content": "Sure. This is the story of Vladimir the "
}
]
}
However, the response looks like this:
**Vladimir the Blue Dog**
Once upon a time, in a quiet little village nestled between rolling green hills, there lived a dog named Vladimir. But Vladimir was no ordinary dog—his fur was a deep, shimmering shade of blue. No one in the village could explain how he had come to be this way. Some said it was magic, others believed it was a trick of the light, but Vladimir himself didn’t seem to mind. He was proud of his unique color and wore it with confidence.
Which is obviously not what the response should look like with the given prefill. Why? And how do I fix it?