-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat(provider): add AGIone provider preset #1123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,7 @@ export const PROVIDER_TYPES = [ | |
| 'openai', | ||
| 'google', | ||
| 'openrouter', | ||
| 'agione', | ||
| 'ark', | ||
| 'moonshot', | ||
| 'moonshot-global', | ||
|
|
@@ -40,6 +41,7 @@ export const BUILTIN_PROVIDER_TYPES = [ | |
| 'openai', | ||
| 'google', | ||
| 'openrouter', | ||
| 'agione', | ||
| 'ark', | ||
| 'moonshot', | ||
| 'moonshot-global', | ||
|
|
@@ -186,6 +188,7 @@ export const PROVIDER_TYPE_INFO: ProviderTypeInfo[] = [ | |
| apiKeyUrl: 'https://aistudio.google.com/app/apikey', | ||
| }, | ||
| { id: 'openrouter', name: 'OpenRouter', icon: '🌐', placeholder: 'sk-or-v1-...', model: 'Multi-Model', requiresApiKey: true, showModelId: true, modelIdPlaceholder: 'openai/gpt-5.5', defaultModelId: 'openai/gpt-5.5', docsUrl: 'https://openrouter.ai/models' }, | ||
| { id: 'agione', name: 'AGIone', icon: '🧩', placeholder: 'ak-...', model: 'Multi-Model', requiresApiKey: true, defaultBaseUrl: 'https://agione.pro/hyperone/xapi/api/v1', showModelId: true, modelIdPlaceholder: 'qwen/qwen3.5-plus/cec84', defaultModelId: 'qwen/qwen3.5-plus/cec84', apiKeyUrl: 'https://agione.pro', docsUrl: 'https://agione.pro' }, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
AGENTS.md's UI change validation rule requires user-visible UI changes to include or update an Electron E2E spec; this line makes AGIone appear in the Add Provider dialog, but the commit only adds unit coverage in Useful? React with 👍 / 👎. |
||
| { id: 'minimax-portal-cn', name: 'MiniMax (CN)', icon: '☁️', placeholder: 'sk-...', model: 'MiniMax', requiresApiKey: false, isOAuth: true, supportsApiKey: true, defaultModelId: 'MiniMax-M3', showModelId: true, modelIdPlaceholder: 'MiniMax-M3', apiKeyUrl: 'https://platform.minimaxi.com/' }, | ||
| { id: 'moonshot', name: 'Moonshot (CN)', icon: '🌙', placeholder: 'sk-...', model: 'Kimi', requiresApiKey: true, defaultBaseUrl: 'https://api.moonshot.cn/v1', showModelId: true, defaultModelId: 'kimi-k2.6', modelIdPlaceholder: 'kimi-k2.6', docsUrl: 'https://platform.moonshot.cn/' }, | ||
| { id: 'moonshot-global', name: 'Moonshot (Global)', icon: '🌙', placeholder: 'sk-...', model: 'Kimi', requiresApiKey: true, defaultBaseUrl: 'https://api.moonshot.ai/v1', showModelId: true, defaultModelId: 'kimi-k2.6', modelIdPlaceholder: 'kimi-k2.6', docsUrl: 'https://platform.moonshot.ai/' }, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AGENTS.md requires new user-visible OpenClaw scenarios to add or update the relevant harness task/scenario/rule specs, and this preset introduces a new provider flow that writes runtime provider config. This commit adds the provider and tests but no
harness/specschange, so future AI-coding validation will not cover the AGIone provider/runtime behavior; please add the corresponding harness spec coverage for this scenario.Useful? React with 👍 / 👎.