Skip to content

docs(configuration): explain remote Chat Completions providers - #2005

Merged
lizhengfeng101 merged 1 commit into
alibaba:mainfrom
wzxsdf:docs/issue-1954-remote-provider
Nov 21, 2026
Merged

lizhengfeng101 merged 1 commit into
alibaba:mainfrom
wzxsdf:docs/issue-1954-remote-provider

Conversation

@wzxsdf

@wzxsdf wzxsdf commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Description

Clarify how a hosted OpenAI-compatible Chat Completions service can be configured as a custom provider. Replace the internal-host example with the public OpenAI /v1 API root and explain endpoint selection, exact model IDs, native tool calls, explicit custom-provider credentials, and active-provider selection.

English, Chinese, Japanese, Korean, and Russian configuration guides are synchronized. No provider preset or runtime behavior changes are included.

Type of Change

  • Documentation update

How Has This Been Tested?

  • Production documentation site build passed (Webpack reports asset and entrypoint size warnings).
  • Final documentation language-bundle tests passed: 7/7 with --testTimeout=20000. A full Pages test run initially had 97 passing tests and one language-bundle test timeout at the default five seconds; that test also passed on an isolated rerun.
  • Pages typecheck and lint passed on the companion documentation worktree with the same application source and dependencies.
  • New shell examples passed Bash syntax checks. Shared examples match across locales, JSON examples parse, and changed files use LF line endings.
  • git diff --check passed.
  • make check passed using the existing WSL Go toolchain; the worktree remains clean.
  • Required pre-commit ocr review --audience agent --background ... was attempted, but could not start because no LLM endpoint is configured in the local WSL environment. A separate static review found no actionable issues.
  • No paid provider request was made and Go unit tests were not run for this documentation-only change.

AI/LLM Disclosure

Created with ZCode/Codex using new-provider/gpt-6.1-sol. AI assisted with repository investigation, documentation drafting, translations, and static review. The contributor's personal review and CLA status are not asserted by this description.

Related Issues

Closes #1954.

@github-actions

Copy link
Copy Markdown
Contributor

✅ OpenCodeReview: Review skipped: no items were selected.

@chaojixinren

Copy link
Copy Markdown
Contributor

LGTM. As a non-blocking follow-up, we should also update the custom provider example in the CLI help (cmd/opencodereview/config_cmd.go), which still uses https://gateway.internal.com/v1. That can be handled separately and does not need to block this PR.

@lizhengfeng101 lizhengfeng101 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.

LGTM

@lizhengfeng101
lizhengfeng101 merged commit 99ab679 into alibaba:main Nov 21, 2026
9 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.

Docs example: a remote OpenAI-compatible /v1 root as a custom provider?

3 participants