Skip to content

feat(provider): add API Route - #6898

Open
DennyHo0917 wants to merge 1 commit into
ChatGPTNextWeb:mainfrom
DennyHo0917:codex/api-route-provider
Open

DennyHo0917 wants to merge 1 commit into
ChatGPTNextWeb:mainfrom
DennyHo0917:codex/api-route-provider

Conversation

@DennyHo0917

Copy link
Copy Markdown

💻 变更类型 | Change Type

  • feat

🔀 变更说明 | Description of Change

Adds API Route as a built-in provider for NextChat's desktop and web clients.

  • Shows API Route in the provider selector
  • Provides dedicated endpoint and API key settings, defaulting to https://global.api-route.com/v1
  • Reuses the existing OpenAI-compatible client, including streaming and tool calls
  • Adds gpt-5.4-mini as the initial built-in model
  • Adds English and Simplified Chinese settings copy

📝 补充信息 | Additional Information

Validation:

  • yarn tsc --noEmit
  • Jest: 34 suites / 157 tests passed
  • Confirmed the API Route endpoint accepts browser CORS preflight requests

This branch has not been deployed

No deployments
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