Update AI inference providers list and tests

Expanded and reordered the list of AI inference providers in the platform configuration to include new providers such as ip-github, ip-nvidia, ip-braintrust, ip-jina, ip-voyageai, ip-burncloud, and ip-poe. Updated the corresponding test to match the new provider list and order.
This commit is contained in:
xixu-me committed 2025-08-14 15:09:20 +08:00
1 parent 079a7deccb
commit 0e28c3e1ee
2 files changed
+38 -24

No files matched your search

+19 -12
View File
@@ -39,27 +39,34 @@ export const PLATFORMS = {
fdroid: 'https://f-droid.org',
// AI Inference Providers
'ip-openrouter': 'https://openrouter.ai',
'ip-openai': 'https://api.openai.com',
'ip-anthropic': 'https://api.anthropic.com',
'ip-google': 'https://generativelanguage.googleapis.com',
'ip-vertexai': 'https://aiplatform.googleapis.com',
'ip-cohere': 'https://api.cohere.ai',
'ip-mistral': 'https://api.mistral.ai',
'ip-xai': 'https://api.x.ai',
'ip-github': 'https://models.github.ai',
'ip-nvidia': 'https://integrate.api.nvidia.com',
'ip-perplexity': 'https://api.perplexity.ai',
'ip-braintrust': 'https://api.braintrust.dev',
'ip-groq': 'https://api.groq.com',
'ip-cerebras': 'https://api.cerebras.ai',
'ip-sambanova': 'https://api.sambanova.ai',
'ip-huggingface': 'https://api-inference.huggingface.co',
'ip-together': 'https://api.together.xyz',
'ip-replicate': 'https://api.replicate.com',
'ip-groq': 'https://api.groq.com',
'ip-fireworks': 'https://api.fireworks.ai',
'ip-mistral': 'https://api.mistral.ai',
'ip-perplexity': 'https://api.perplexity.ai',
'ip-xai': 'https://api.x.ai',
'ip-cerebras': 'https://api.cerebras.ai',
'ip-hyperbolic': 'https://api.hyperbolic.xyz',
'ip-sambanova': 'https://api.sambanova.ai',
'ip-novita': 'https://api.novita.ai',
'ip-featherless': 'https://api.featherless.ai',
'ip-fal': 'https://fal.run',
'ip-nebius': 'https://api.studio.nebius.ai',
'ip-braintrust': 'https://api.braintrust.dev',
'ip-jina': 'https://api.jina.ai',
'ip-voyageai': 'https://api.voyageai.com',
'ip-fal': 'https://fal.run',
'ip-novita': 'https://api.novita.ai',
'ip-burncloud': 'https://ai.burncloud.com',
'ip-openrouter': 'https://openrouter.ai',
'ip-poe': 'https://api.poe.com',
'ip-featherless': 'https://api.featherless.ai',
'ip-hyperbolic': 'https://api.hyperbolic.xyz',
// Container Registries
'cr-quay': 'https://quay.io',