feat: remove together, fireworks, perplexity providers
This commit is contained in:
parent
70f488b0db
commit
91ae9d0ccc
2 changed files with 1 additions and 51 deletions
|
|
@ -73,53 +73,6 @@ PROVIDER_REGISTRY: dict[str, dict[str, Any]] = {
|
|||
"auth_prefix": "Bearer ",
|
||||
"notes": "OpenAI compatibility layer over native Cohere API.",
|
||||
},
|
||||
"together": {
|
||||
"display_name": "Together AI",
|
||||
"base_url": "https://api.together.xyz/v1",
|
||||
"default_models": [
|
||||
"deepseek-ai/DeepSeek-R1",
|
||||
"deepseek-ai/DeepSeek-V3",
|
||||
"meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8",
|
||||
"Qwen/Qwen3-235B-A22B",
|
||||
],
|
||||
"supports_streaming": True,
|
||||
"supports_vision": True,
|
||||
"supports_tool_calling": True,
|
||||
"auth_header": "Authorization",
|
||||
"auth_prefix": "Bearer ",
|
||||
},
|
||||
"fireworks": {
|
||||
"display_name": "Fireworks AI",
|
||||
"base_url": "https://api.fireworks.ai/inference/v1",
|
||||
"default_models": [
|
||||
"accounts/fireworks/models/deepseek-v3-0324",
|
||||
"accounts/fireworks/models/llama4-maverick-instruct-basic",
|
||||
"accounts/fireworks/models/qwen3-30b",
|
||||
"accounts/fireworks/models/llama-3.3-70b",
|
||||
],
|
||||
"supports_streaming": True,
|
||||
"supports_vision": True,
|
||||
"supports_tool_calling": True,
|
||||
"auth_header": "Authorization",
|
||||
"auth_prefix": "Bearer ",
|
||||
"notes": "Model IDs use 'accounts/fireworks/models/' prefix. Usage stats included in streaming.",
|
||||
},
|
||||
"perplexity": {
|
||||
"display_name": "Perplexity",
|
||||
"base_url": "https://api.perplexity.ai",
|
||||
"default_models": [
|
||||
"sonar-pro",
|
||||
"sonar",
|
||||
"sonar-reasoning",
|
||||
"sonar-reasoning-pro",
|
||||
],
|
||||
"supports_streaming": True,
|
||||
"supports_vision": False,
|
||||
"supports_tool_calling": False,
|
||||
"auth_header": "Authorization",
|
||||
"auth_prefix": "Bearer ",
|
||||
"notes": "Web-grounded responses with built-in search.",
|
||||
},
|
||||
"anthropic": {
|
||||
"display_name": "Anthropic",
|
||||
"base_url": "https://api.anthropic.com/v1",
|
||||
|
|
|
|||
|
|
@ -45,9 +45,6 @@ _PROVIDER_CONFIGS: dict[str, tuple[str, str]] = {
|
|||
"mistral": ("MISTRAL_API_KEY", "mistral-small-latest"),
|
||||
"gemini": ("GEMINI_API_KEY", "gemini-2.5-flash"),
|
||||
"cohere": ("COHERE_API_KEY", "command-a-03-2025"),
|
||||
"together": ("TOGETHER_API_KEY", "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8"),
|
||||
"fireworks": ("FIREWORKS_API_KEY", "accounts/fireworks/models/llama4-maverick-instruct-basic"),
|
||||
"perplexity": ("PERPLEXITY_API_KEY", "sonar"),
|
||||
"openrouter": ("OPENROUTER_API_KEY", "openai/gpt-4o-mini"),
|
||||
"anthropic": ("ANTHROPIC_API_KEY", "claude-haiku-4-5"),
|
||||
"deepseek": ("DEEPSEEK_API_KEY", "deepseek-chat"),
|
||||
|
|
@ -242,7 +239,7 @@ class TestRegistry:
|
|||
)
|
||||
assert resp.status_code == 200, f"Registry failed: {resp.text}"
|
||||
providers = resp.json()
|
||||
assert len(providers) == 10, f"Expected 10 providers, got {len(providers)}: {providers}"
|
||||
assert len(providers) == 7, f"Expected 7 providers, got {len(providers)}: {providers}"
|
||||
print(f"\n {'Provider':<12} {'Base URL'}")
|
||||
print(f" {'-'*12} {'-'*45}")
|
||||
for p in providers:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue