Skip to content

docs(openai-compatible-providers): add NEAR AI Cloud#15538

Merged
aayush-kapoor merged 2 commits into
vercel:mainfrom
PierreLeGuen:nearai-provider
Jun 1, 2026
Merged

docs(openai-compatible-providers): add NEAR AI Cloud#15538
aayush-kapoor merged 2 commits into
vercel:mainfrom
PierreLeGuen:nearai-provider

Conversation

@PierreLeGuen
Copy link
Copy Markdown
Contributor

@PierreLeGuen PierreLeGuen commented May 22, 2026

Background

NEAR AI Cloud exposes an OpenAI-compatible API for TEE-backed inference. AI SDK users can already connect to it through @ai-sdk/openai-compatible; this adds a provider page showing the setup pattern and links it from the OpenAI-compatible providers index.

Summary

  • Add content/providers/02-openai-compatible-providers/50-nearai.mdx with setup, provider instance, text generation, and streaming examples.
  • Add NEAR AI Cloud to the OpenAI-compatible providers index.
  • Use NEARAI_API_KEY and https://cloud-api.near.ai/v1, with a small request-body transform to avoid forwarding reasoning_effort.

Manual Verification

  • pnpm exec ultracite check content/providers/02-openai-compatible-providers/index.mdx content/providers/02-openai-compatible-providers/50-nearai.mdx
  • git diff --check

No live API call was run; this is a docs-only addition.

Checklist

  • All commits are signed (PRs with unsigned commits cannot be merged)
  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

@PierreLeGuen PierreLeGuen marked this pull request as ready for review May 22, 2026 11:39
Copy link
Copy Markdown
Collaborator

@aayush-kapoor aayush-kapoor left a comment

Choose a reason for hiding this comment

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

please sign your commits! we are not able to merge otherwise

@PierreLeGuen
Copy link
Copy Markdown
Contributor Author

@aayush-kapoor done — the commit is now signed and shows as Verified. Let me know if anything else is needed before merge.

@aayush-kapoor aayush-kapoor added the backport Admins only: add this label to a pull request in order to backport it to the prior version label Jun 1, 2026
@aayush-kapoor aayush-kapoor enabled auto-merge (squash) June 1, 2026 15:41
@aayush-kapoor aayush-kapoor merged commit dbfe356 into vercel:main Jun 1, 2026
48 of 49 checks passed
github-actions Bot added a commit that referenced this pull request Jun 1, 2026
## Background

NEAR AI Cloud exposes an OpenAI-compatible API for TEE-backed inference.
AI SDK users can already connect to it through
`@ai-sdk/openai-compatible`; this adds a provider page showing the setup
pattern and links it from the OpenAI-compatible providers index.

## Summary

- Add `content/providers/02-openai-compatible-providers/50-nearai.mdx`
with setup, provider instance, text generation, and streaming examples.
- Add NEAR AI Cloud to the OpenAI-compatible providers index.
- Use `NEARAI_API_KEY` and `https://cloud-api.near.ai/v1`, with a small
request-body transform to avoid forwarding `reasoning_effort`.

## Manual Verification

- `pnpm exec ultracite check
content/providers/02-openai-compatible-providers/index.mdx
content/providers/02-openai-compatible-providers/50-nearai.mdx`
- `git diff --check`

No live API call was run; this is a docs-only addition.

## Checklist

- [ ] All commits are signed (PRs with unsigned commits cannot be
merged)
- [ ] Tests have been added / updated (for bug fixes / features)
- [x] Documentation has been added / updated (for bug fixes / features)
- [ ] A _patch_ changeset for relevant packages has been added (for bug
fixes / features - run `pnpm changeset` in the project root)
- [x] I have reviewed this pull request (self-review)

Co-authored-by: Aayush Kapoor <83492835+aayush-kapoor@users.noreply.github.com>
@github-actions github-actions Bot removed the backport Admins only: add this label to a pull request in order to backport it to the prior version label Jun 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

✅ Backport PR created: #15739

aayush-kapoor added a commit that referenced this pull request Jun 1, 2026
This is an automated backport of #15538 to the release-v6.0 branch. FYI
@PierreLeGuen

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aayush Kapoor <83492835+aayush-kapoor@users.noreply.github.com>
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