Skip to content

Commit 2aca816

Browse files
lucaszhu-huelucaszhu-hue
andauthored
feat(adaptors): add Atlas Cloud OpenAI-compatible adaptor (#396)
Adds Atlas Cloud as an OpenAI-compatible platform adaptor (`--target atlas`, `ATLAS_API_KEY`), a thin OpenAICompatibleAdaptor subclass mirroring together/deepseek. Includes neutral Multi-LLM table entry, labeled Sponsors section in README (en + zh-CN), and parametrized adaptor tests. Co-authored-by: lucaszhu-hue <lucaszhu-hue@users.noreply.github.com>
1 parent 9efb0df commit 2aca816

7 files changed

Lines changed: 59 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,3 +1361,15 @@ Happy skill building! 🚀
13611361
## 🔒 Security
13621362

13631363
[![MseeP.ai Security Assessment Badge](https://mseep.net/pr/yusufkaraaslan-skill-seekers-badge.png)](https://mseep.ai/app/yusufkaraaslan-skill-seekers)
1364+
1365+
---
1366+
1367+
## 💛 Sponsors
1368+
1369+
<p align="center">
1370+
<a href="https://www.atlascloud.ai/?utm_source=github&utm_medium=link&utm_campaign=skill_seekers">
1371+
<img src="docs/assets/atlas-cloud-logo.png" alt="Atlas Cloud" width="200">
1372+
</a>
1373+
</p>
1374+
1375+
[Atlas Cloud](https://www.atlascloud.ai/?utm_source=github&utm_medium=link&utm_campaign=skill_seekers) — a full-modal, OpenAI-compatible AI inference platform. Skill Seekers supports it as a packaging/enhancement target via `--target atlas` with `ATLAS_API_KEY`.

README.zh-CN.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,3 +1139,15 @@ skill-seekers quality output/react/ # 质量评分
11391139
```bash
11401140
skill-seekers package output/react/ --chunk-for-rag --chunk-tokens 512 --chunk-overlap-tokens 50
11411141
```
1142+
1143+
---
1144+
1145+
## 💛 赞助商
1146+
1147+
<p align="center">
1148+
<a href="https://www.atlascloud.ai/?utm_source=github&utm_medium=link&utm_campaign=skill_seekers">
1149+
<img src="docs/assets/atlas-cloud-logo.png" alt="Atlas Cloud" width="200">
1150+
</a>
1151+
</p>
1152+
1153+
[Atlas Cloud](https://www.atlascloud.ai/?utm_source=github&utm_medium=link&utm_campaign=skill_seekers) — 全模态、OpenAI 兼容的 AI 推理平台。Skill Seekers 通过 `--target atlas`(配置 `ATLAS_API_KEY`)支持将其作为打包/增强目标。

docs/assets/atlas-cloud-logo.png

131 KB
Loading

docs/integrations/MULTI_LLM_SUPPORT.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Skill Seekers supports multiple LLM platforms through a clean adaptor system. Th
1010
| **Google Gemini** | ✅ Full Support | tar.gz | ✅ Automatic | ✅ Yes | GOOGLE_API_KEY |
1111
| **OpenAI ChatGPT** | ✅ Full Support | ZIP + Vector Store | ✅ Automatic | ✅ Yes | OPENAI_API_KEY |
1212
| **MiniMax AI** | ✅ Full Support | ZIP | ✅ Validation | ✅ Yes | MINIMAX_API_KEY |
13+
| **Atlas Cloud** | ✅ Full Support | ZIP | ✅ Validation | ✅ Yes | ATLAS_API_KEY |
1314
| **Generic Markdown** | ✅ Export Only | ZIP | ❌ Manual | ❌ No | None |
1415

1516
## Quick Start

src/skill_seekers/cli/adaptors/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@
116116
except ImportError:
117117
IBMBobAdaptor = None
118118

119+
try:
120+
from .atlas import AtlasAdaptor
121+
except ImportError:
122+
AtlasAdaptor = None
123+
119124

120125
# Registry of available adaptors
121126
ADAPTORS: dict[str, type[SkillAdaptor]] = {}
@@ -163,6 +168,8 @@
163168
ADAPTORS["fireworks"] = FireworksAdaptor
164169
if IBMBobAdaptor:
165170
ADAPTORS["ibm-bob"] = IBMBobAdaptor
171+
if AtlasAdaptor:
172+
ADAPTORS["atlas"] = AtlasAdaptor
166173

167174

168175
def get_adaptor(platform: str, config: dict = None) -> SkillAdaptor:
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env python3
2+
"""
3+
Atlas Cloud Adaptor
4+
5+
OpenAI-compatible LLM platform adaptor for Atlas Cloud.
6+
"""
7+
8+
from .openai_compatible import OpenAICompatibleAdaptor
9+
10+
11+
class AtlasAdaptor(OpenAICompatibleAdaptor):
12+
"""Atlas Cloud platform adaptor."""
13+
14+
PLATFORM = "atlas"
15+
PLATFORM_NAME = "Atlas Cloud"
16+
DEFAULT_API_ENDPOINT = "https://api.atlascloud.ai/v1"
17+
DEFAULT_MODEL = "deepseek-ai/deepseek-v4-pro"
18+
ENV_VAR_NAME = "ATLAS_API_KEY"
19+
PLATFORM_URL = "https://www.atlascloud.ai/"

tests/test_adaptors/test_openai_compatible_shared.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222

2323
PLATFORMS = [
24+
"atlas",
2425
"deepseek",
2526
"fireworks",
2627
"kimi",
@@ -30,6 +31,13 @@
3031
]
3132

3233
PLATFORM_EXPECTED = {
34+
"atlas": {
35+
"name": "Atlas Cloud",
36+
"endpoint_contains": "atlascloud",
37+
"model_truthy": True,
38+
"env_var": "ATLAS_API_KEY",
39+
"api_base_contains": "atlascloud",
40+
},
3341
"deepseek": {
3442
"name": "DeepSeek AI",
3543
"endpoint_contains": "deepseek",

0 commit comments

Comments
 (0)