Skip to content

Add Atlas Cloud LLM provider - #114

Open
binyangzhu000-sudo wants to merge 3 commits into
ExplosiveCoderflome:mainfrom
binyangzhu000-sudo:codex/atlascloud-provider
Open

Add Atlas Cloud LLM provider#114
binyangzhu000-sudo wants to merge 3 commits into
ExplosiveCoderflome:mainfrom
binyangzhu000-sudo:codex/atlascloud-provider

Conversation

@binyangzhu000-sudo

Copy link
Copy Markdown

Summary

  • add Atlas Cloud as a built-in OpenAI-compatible LLM provider
  • default Atlas Cloud to https://api.atlascloud.ai/v1 and qwen/qwen3.5-flash, with deepseek-ai/deepseek-v4-pro in the fallback model list
  • support ATLASCLOUD_API_KEY plus ATLAS_CLOUD_API_KEY aliases for API key, base URL, and model env fallback
  • keep Atlas Cloud out of the RAG embedding provider list because this integration targets chat/completions LLM usage only

Tests

  • corepack pnpm install --frozen-lockfile --ignore-scripts
  • corepack pnpm --filter @ai-novel/server prisma:generate
  • corepack pnpm --filter @ai-novel/shared build
  • corepack pnpm --filter @ai-novel/server build
  • node --test server/tests/llmProviders.test.js
  • corepack pnpm --filter @ai-novel/server lint
  • corepack pnpm --filter @ai-novel/client typecheck
  • git diff --check
  • git diff --cached --check

Note: the focused Node test logs the existing local SQLite APIKey table-missing message while exercising the no-database fallback path, but all assertions pass. Atlas Cloud live model catalog was checked and contains both qwen/qwen3.5-flash and deepseek-ai/deepseek-v4-pro.

binyangzhu000-sudo and others added 3 commits July 24, 2026 20:46
Resolve the conflict in server/tests/llmProviders.test.js by keeping both
sets of assertions: main's new deepseek-v4-flash checks and this branch's
Atlas Cloud checks live in the same test, so neither side is dropped.

The provider registration, capability entry, shared provider id and RAG
embedding exclusion merged without conflict; verified that atlascloud is
still present and correctly placed in each of them.
One conflict in server/tests/llmProviders.test.js, where this branch's
Atlas Cloud provider assertions and an upstream test were added at the
same point. Both kept.

Signed-off-by: binyangzhu000-sudo <binyangzhu000@gmail.com>
@binyangzhu000-sudo

Copy link
Copy Markdown
Author

已同步 main。冲突只有 server/tests/llmProviders.test.js 一处——本分支的 Atlas Cloud 断言和上游新增的测试落在同一位置,两边都保留了。相对当前 main 的改动为 +126/-20

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