Skip to content
Merged
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
14 changes: 14 additions & 0 deletions src/main/provider/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,20 @@ const PROVIDER_DEFAULTS: LLM_PROVIDER_BASE[] = [
models: 'https://openrouter.ai/docs/models'
}
},
{
id: 'atlascloud',
name: 'Atlas Cloud',
apiType: 'openai-completions',
apiKey: '',
baseUrl: 'https://api.atlascloud.ai/v1',
enable: false,
websites: {
official: 'https://atlascloud.ai/',
apiKey: 'https://console.atlascloud.ai/api-keys',
docs: 'https://docs.atlascloud.ai/',
models: 'https://console.atlascloud.ai/models'
}
},
{
id: 'requesty',
name: 'Requesty',
Expand Down
8 changes: 8 additions & 0 deletions src/main/provider/providerRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,14 @@ const PROVIDER_ID_REGISTRY = new Map<string, AiSdkProviderDefinition>([
embeddingStrategy: 'none'
})
],
[
'atlascloud',
createDefinition({
...OPENAI_BASE,
credentialStrategy: 'api-key',
embeddingStrategy: 'none'
})
],
[
'amd-developer',
createDefinition({
Expand Down
1 change: 1 addition & 0 deletions src/renderer/src/assets/llm-icons/atlascloud.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/renderer/src/components/icons/modelIconRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ import daoxeColorIcon from '@/assets/llm-icons/daoxe.png?url'
import kimiColorIcon from '@/assets/llm-icons/kimi-color.svg?url'
import moonshotColorIcon from '@/assets/llm-icons/moonshot.svg?url'
import openrouterColorIcon from '@/assets/llm-icons/openrouter.svg?url'
import atlascloudIcon from '@/assets/llm-icons/atlascloud.svg?url'
import requestyColorIcon from '@/assets/llm-icons/requesty.png?url'
import opperColorIcon from '@/assets/llm-icons/opper.svg?url'
import demonrouteColorIcon from '@/assets/llm-icons/demonroute.svg?url'
Expand Down Expand Up @@ -188,6 +189,7 @@ export const modelIcons = {
qwen: qwenColorIcon,
moonshot: moonshotColorIcon,
openrouter: openrouterColorIcon,
atlascloud: atlascloudIcon,
requesty: requestyColorIcon,
opper: opperColorIcon,
demonroute: demonrouteColorIcon,
Expand Down Expand Up @@ -269,6 +271,7 @@ const monoIconUrls = new Set<string>([
rwkvColorIcon,
moonshotColorIcon,
openrouterColorIcon,
atlascloudIcon,
opperColorIcon,
demonrouteColorIcon,
githubColorIcon,
Expand Down