hi team, i got this error when trying to send images to claude models
400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.0.content.1.type: Field required\"},\"request_id\":\"req_011CdDW8vBrmP9uVgJ8Rv375\"}
code:
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<img src="https://assets.puter.site/doge.jpeg" style="display:block;">
<script>
// Loading ...
puter.print(`Loading...`);
puter.ai
.chat(`What do you see?`, `https://assets.puter.site/doge.jpeg`, {
model: "claude-sonnet-4-6",
})
.then(puter.print);
</script>
</body>
</html>
hi team, i got this error when trying to send images to claude models
code: