Skip to content

docs: add apiToken.sale Anthropic channel example - #196

Open
apitokensale-admin wants to merge 1 commit into
QuantumNous:mainfrom
apitokensale-admin:docs/apitoken-anthropic-channel
Open

docs: add apiToken.sale Anthropic channel example#196
apitokensale-admin wants to merge 1 commit into
QuantumNous:mainfrom
apitokensale-admin:docs/apitoken-anthropic-channel

Conversation

@apitokensale-admin

@apitokensale-admin apitokensale-admin commented Jul 28, 2026

Copy link
Copy Markdown

Summary

Add English and Chinese setup instructions for connecting apiToken.sale through New API's existing Anthropic channel type. The guide documents the exact base URL behavior, distinguishes provider-issued keys from Anthropic-issued keys, links the model list and provider docs, and includes an explicit third-party/compliance notice.

This documentation change was AI-assisted and reviewed against the current New API Anthropic adaptor behavior.

Validation

  • bunx prettier --check passed for both changed MDX files
  • bun run build completed successfully (2,065 static pages)
  • go test ./relay/channel/claude passed in QuantumNous/new-api
  • Live request through the current New API Claude adaptor resolved https://api.apitoken.sale/v1/messages, set x-api-key plus anthropic-version: 2023-06-01, and returned HTTP 200 with claude-sonnet-4-6
  • Direct live smoke tests passed for a normal message, SSE streaming, and forced tool use (HTTP 200 for all three)
  • Linked homepage, model list, and provider documentation returned HTTP 200

No credentials or response contents are included in this PR.

Summary by CodeRabbit

  • Documentation
    • Added English and Chinese setup examples for connecting an Anthropic-compatible third-party provider.
    • Documented Base URL, API key, model selection, channel saving, and connection testing steps.
    • Added a warning to independently verify the provider’s authorization, terms, and data-handling policies.

@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the quantumnous Team on Vercel.

A member of the Team first needs to authorize it.

@apitokensale-admin

Copy link
Copy Markdown
Author

@greptileai

@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a89eb6cb-6fe6-4721-ad26-d815c480ec4a

📥 Commits

Reviewing files that changed from the base of the PR and between cb6ee07 and e9e0a51.

📒 Files selected for processing (2)
  • content/docs/en/guide/feature-guide/admin/channel.mdx
  • content/docs/zh/guide/feature-guide/admin/channel.mdx

Walkthrough

The English and Chinese channel guides now include an end-to-end example for configuring and testing the Anthropic-compatible apiToken.sale provider, including Base URL, API key, model selection, and third-party verification guidance.

Changes

Anthropic-compatible provider documentation

Layer / File(s) Summary
Provider configuration example
content/docs/en/guide/feature-guide/admin/channel.mdx, content/docs/zh/guide/feature-guide/admin/channel.mdx
Adds localized setup instructions for apiToken.sale, including provider type, Base URL formatting, provider-issued API key, model selection, saving, connection testing, and third-party compliance verification.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Poem

I’m a bunny with docs in my paws,
Guiding keys and URLs by the laws.
Pick models, test the way,
Keep third-party checks in play—
Hop through setup without flaws!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: adding an apiToken.sale Anthropic channel setup example in the docs.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Warning

⚠️ This pull request has been flagged as potential spam (promotional) by CodeRabbit slop detection and should be reviewed carefully.

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.

1 participant