Skip to content
This repository was archived by the owner on Sep 7, 2026. It is now read-only.

Add Atlas Cloud translate provider - #1301

Open
binyangzhu000-sudo wants to merge 1 commit into
pot-app:masterfrom
binyangzhu000-sudo:codex/add-atlascloud-translate-provider
Open

binyangzhu000-sudo wants to merge 1 commit into
pot-app:masterfrom
binyangzhu000-sudo:codex/add-atlascloud-translate-provider

Conversation

@binyangzhu000-sudo

Copy link
Copy Markdown

Summary

  • Add an Atlas Cloud translate service that uses the existing OpenAI-compatible chat completions flow.
  • Provide Atlas Cloud defaults for the request path and model (https://api.atlascloud.ai/v1/chat/completions, qwen/qwen3.5-flash).
  • Register the provider in the built-in translate service list and add title labels for en/zh locales.

Testing

  • pnpm install --frozen-lockfile --ignore-scripts
  • pnpm exec prettier --check src/services/translate/atlascloud/defaults.js src/services/translate/atlascloud/index.jsx src/services/translate/atlascloud/Config.jsx src/services/translate/atlascloud/info.ts src/services/translate/index.jsx src/i18n/locales/en_US.json src/i18n/locales/zh_CN.json src/i18n/locales/zh_TW.json
  • node -e "JSON.parse(...)" for updated locale files
  • git diff --check and git diff --cached --check
  • pnpm run build (passes; existing warnings about stale Browserslist data, src/utils/invoke_plugin.js eval use, and large chunks remain)
  • Atlas Cloud live model catalog check returned 121 visible/total models and confirmed qwen/qwen3.5-flash plus deepseek-ai/deepseek-v4-pro

README/docs were not changed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant