Merit-Systems / Merit-Systems/echo

ai 5 → v7: experimental_generateImage is used in three places (scan of current main)

Open
#819 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
546
Forks
88
PR merge metrics
No merged PRs in 30d

Description

Several echo workspaces pin ai 5.0.x, and v7 removes experimental_generateImage, which you use. I scanned current main (76d9f1a) against the 2026-09-13.1 change feed:

  • packages/sdk/examples/next/src/app/api/generate/route.ts:2:10 - experimental_generateImage removed in v7 (hard break)
  • packages/sdk/examples/vite/src/components/ImageGeneration.tsx:2:10 - same removal
  • packages/tests/provider-smoke/openai-generate-image.test.ts:5:10 - same removal
  • packages/sdk/examples/next-402-chat/src/components/ai-elements/image.tsx:1:15 - Experimental_GeneratedImage deprecated from 7.0.40

Full disclosure: I build the scanner (Emendant) - the findings above are yours to use either way.

If it's useful, I can do a free 20-minute check of the repo with you - runs locally, no repository access needed. Session or async instructions?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the four references identified in the issue: packages/sdk/examples/next/src/app/api/generate/route.ts, packages/sdk/examples/vite/src/components/ImageGeneration.tsx, packages/tests/provider-smoke/openai-generate-image.test.ts, and packages/sdk/examples/next-402-chat/src/components/ai-elements/image.tsx. Check the v7-compatible replacements, update each affected usage, and verify that the examples and provider smoke test no longer rely on removed or deprecated image-generation APIs.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js, react, typescript, vite
Domain
frontend, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.