Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions apps/desktop/src/renderer/settings/provider-display-copy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ export const PROVIDER_DISPLAY_COPY = {
zh: { name: 'DeepInfra', description: '开源模型托管推理 · OpenAI 兼容', badge: 'API' },
en: { name: 'DeepInfra', description: 'Hosted open-model inference · OpenAI-compatible', badge: 'API' },
},
atlascloud: {
zh: { name: 'Atlas Cloud', description: '开源模型托管推理 · OpenAI 兼容', badge: 'API' },
en: { name: 'Atlas Cloud', description: 'Hosted open-model inference · OpenAI-compatible', badge: 'API' },
},
cohere: {
zh: { name: 'Cohere', description: 'Cohere 官方接入', badge: 'API' },
en: { name: 'Cohere', description: 'Official Cohere Chat API access.', badge: 'API' },
Expand Down
22 changes: 22 additions & 0 deletions packages/core/src/__tests__/llm-connections.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,28 @@ test('provider registry satisfies shared structural invariants', () => {
}
});

test('Atlas Cloud is wired as a ready OpenAI-compatible provider', () => {
assert.deepEqual(PROVIDER_REGISTRY.atlascloud, {
label: 'Atlas Cloud',
description: 'Hosted open-model inference with OpenAI-compatible chat and tool use.',
baseUrl: 'https://api.atlascloud.ai/v1',
authKind: 'api_key',
backendKind: 'ai-sdk',
fallbackModels: ['qwen/qwen3.8-max'],
status: 'ready',
protocol: 'openai',
runtimeAdapter: { kind: 'openai-compatible', name: 'provider' },
modelDiscovery: { kind: 'protocol', filter: 'fallback-models' },
category: 'overseas',
catalogGroup: 'api',
catalogBadge: 'API',
readyOrder: 29.5,
catalogOrder: 29.5,
});
assert.equal(READY_PROVIDER_TYPES.includes('atlascloud'), true);
assert.equal(CATALOG_PROVIDER_TYPES.includes('atlascloud'), true);
});

test('connection base URLs allow HTTP(S) and reject unsafe or malformed inputs', () => {
for (const value of [
undefined,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const NOT_IN_MODELS_DEV: Readonly<Record<string, string>> = {
'volcengine-ark': 'models.dev does not cover Volcengine Ark',
'volcengine-coding-plan': 'models.dev does not cover Volcengine Ark',
'volcengine-agent-plan': 'models.dev does not cover Volcengine Ark',
atlascloud: 'models.dev does not cover Atlas Cloud',
ollama: 'local runtime, not an upstream service',
'lm-studio': 'local runtime, not an upstream service',
localai: 'local runtime, not an upstream service',
Expand Down
7 changes: 7 additions & 0 deletions packages/core/src/model-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,13 @@ const STATIC_MODEL_METADATA: Partial<Record<ProviderType, Record<string, ModelMe
thinkingOptions: { efforts: ['none', 'low', 'medium', 'high'], toggle: true },
},
},
atlascloud: {
'qwen/qwen3.8-max': {
displayName: 'Qwen3.8 Max',
lifecycle: 'active',
capabilities: { chat: true, reasoning: true, functionCalling: true },

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Action required

1. Multimodal model marked text-only 🐞 Bug ≡ Correctness

The Atlas Cloud metadata omits vision: true and image input modalities for qwen/qwen3.8-max, so
resolveModelVisionSupport() returns false and the runtime replaces image attachments with a “model
does not support image input” notice. This contradicts Atlas Cloud's description of this exact model
as supporting multimodal applications.
Agent Prompt
## Issue description
Atlas Cloud's `qwen/qwen3.8-max` metadata omits vision and image-input declarations, causing the runtime to reject images for a multimodal model.

## Issue Context
Use the existing static metadata seam: add `vision: true` and `modalities: { input: ['text', 'image'], output: ['text'] }`, plus a focused regression assertion. Deletion or consolidation cannot restore the missing provider-specific capability; this adds no new public surface or authority because the static metadata entry is already authoritative for Atlas Cloud, with only a small test-maintenance burden.

## Fix Focus Areas
- packages/core/src/model-metadata.ts[412-418]
- packages/core/src/__tests__/model-metadata.test.ts[1-130]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

},
},
groq: {
// Groq documents reasoning_effort only for the gpt-oss family
// (low/medium/high) and qwen3.6-27b (none/default); see
Expand Down
17 changes: 17 additions & 0 deletions packages/core/src/provider-registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,23 @@ const providerRegistry = {
readyOrder: 29,
catalogOrder: 29,
},
atlascloud: {
label: 'Atlas Cloud',
description: 'Hosted open-model inference with OpenAI-compatible chat and tool use.',
baseUrl: 'https://api.atlascloud.ai/v1',
authKind: 'api_key',
backendKind: 'ai-sdk',
fallbackModels: ['qwen/qwen3.8-max'],
status: 'ready',
protocol: 'openai',
runtimeAdapter: { kind: 'openai-compatible', name: 'provider' },
modelDiscovery: { kind: 'protocol', filter: 'fallback-models' },
category: 'overseas',
catalogGroup: 'api',
catalogBadge: 'API',
readyOrder: 29.5,
catalogOrder: 29.5,
},
groq: {
label: groq.name,
description: 'Ultra-fast LPU-hosted open models with reasoning and tool use.',
Expand Down
Loading