Skip to content

fix(examples): use canonical CMS asset URL for chat-with-image example#242

Merged
Nelson-PROIA merged 1 commit into
mainfrom
fix/example-image-url-rot
Jun 16, 2026
Merged

fix(examples): use canonical CMS asset URL for chat-with-image example#242
Nelson-PROIA merged 1 commit into
mainfrom
fix/example-image-url-rot

Conversation

@Nelson-PROIA

@Nelson-PROIA Nelson-PROIA commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

The chat-with-image example used a mistral.ai/_next/image proxy URL that now returns 404, so the image can't be fetched and the example fails with a 400. Point at the image asset directly instead.

-            "https://mistral.ai/_next/image?url=...&w=3840&q=75",
+            "https://cms.mistral.ai/assets/ce1514ab-62f9-4825-a20b-298f2497c536",

The example pointed at the marketing site's Next.js image-optimizer proxy
(mistral.ai/_next/image?url=...), which now returns 404. The API server
cannot fetch it and rejects the request with 400 invalid_request_file
(code 3310), failing the examples CI job. The underlying CMS asset is still
available, so point directly at it and drop the fragile proxy wrapper.
@andreaonofrei01 andreaonofrei01 self-requested a review June 16, 2026 09:47

@andreaonofrei01 andreaonofrei01 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@Nelson-PROIA Nelson-PROIA merged commit 26e68a1 into main Jun 16, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants