Hey I‘m trying to use the vision capabilities for this mistral model @cf/mistralai/mistral-small-3.1

Hey I‘m trying to use the vision capabilities for this mistral model @cf/mistralai/mistral-small-3.1-24b-instruct

It doesn‘t seems to work yet. Is that right? Can‘t provide conversation history with content. Always says Type mismatch of '/messages/0/content', 'array' not in 'string'

const aiResponse: any = await env.AI.run(
"@cf/mistralai/mistral-small-3.1-24b-instruct",
{
prompt: prompt,
messages: [
{
role: "system",
content: "You're a helpful assistant."
}
]
}
);
Was this page helpful?