Skip to content

docs: repoint broken examples/next-openai links to examples/next - #14736

Closed
abhicris wants to merge 1 commit into
vercel:mainfrom
abhicris:docs/fix-broken-next-openai-links
Closed

docs: repoint broken examples/next-openai links to examples/next#14736
abhicris wants to merge 1 commit into
vercel:mainfrom
abhicris:docs/fix-broken-next-openai-links

Conversation

@abhicris

Copy link
Copy Markdown
Contributor

Closes #14705.

https://github.com/vercel/ai/tree/main/examples/next-openai returns 404 — the directory was renamed/removed. Four references still point at it; this PR repoints each to examples/next (the modern minimal Next.js example already in the tree).

File Change
content/providers/05-observability/langfuse.mdx link target
content/cookbook/01-next/75-human-in-the-loop.mdx link target; trim "Navigate to /test-tool-approval" since that sub-page also lived under the old example and is not present in examples/next
content/docs/04-ai-sdk-ui/01-overview.mdx Next.js framework-examples link
examples/ai-e2e-next/README.md Vercel deploy-button URL — repointed to ai-e2e-next itself, the example the README documents

Total: +4 / -4. No code changes.

The companion examples/nuxt-openai and examples/sveltekit-openai paths in 01-overview.mdx (lines 38-39) appear unaffected by this issue, so they're left alone in this PR. Happy to expand scope if those are also broken.


Contributed by kcolbchain.

 vercel#14705)

`examples/next-openai` returns 404 — the directory was renamed/removed
upstream, but four references still point at it:

- `content/providers/05-observability/langfuse.mdx`
- `content/cookbook/01-next/75-human-in-the-loop.mdx`
- `content/docs/04-ai-sdk-ui/01-overview.mdx`
- `examples/ai-e2e-next/README.md` (the Vercel deploy button URL)

Repoint each to `examples/next`, the modern minimal Next.js example
already in the tree.

Notes:
- The `human-in-the-loop` cookbook also referenced a `/test-tool-approval`
  page that lived under the old `next-openai` example. That sub-page is
  not present in `examples/next`; the sentence is trimmed to avoid
  pointing at a path that does not exist either.
- The `ai-e2e-next/README.md` deploy URL is repointed to `ai-e2e-next`
  itself (the example the README documents) rather than the missing
  `next-openai`.

No code changes; docs/links only.
pull Bot pushed a commit to Siriusmene/ai that referenced this pull request Jul 20, 2026
## Background

human-in-the-loop docs still pointed to `next-openai` example which
doesn't exist anymore.

## Summary

updated docs to point to the right place in `ai-e2e-next`

## Related Issues

Fixes vercel#14705

these PRs are also out of date:

Closes vercel#16638
Closes vercel#15578
Closes vercel#14736
Closes vercel#15014
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.

Broken docs links still point to missing examples/next-openai path

1 participant