From db23046aeda2cb7cdbd11f0e852d42bb7bedf6db Mon Sep 17 00:00:00 2001 From: hefu-hk Date: Wed, 2 Sep 2026 19:16:28 +0800 Subject: [PATCH] Reduce diff to minimal hefu entry (revert unrelated array reformatting) --- litellm/llms/openai_like/providers.json | 36 +++++-------------------- 1 file changed, 7 insertions(+), 29 deletions(-) diff --git a/litellm/llms/openai_like/providers.json b/litellm/llms/openai_like/providers.json index b70ad0ff95a..99732c36618 100644 --- a/litellm/llms/openai_like/providers.json +++ b/litellm/llms/openai_like/providers.json @@ -130,10 +130,7 @@ "param_mappings": { "max_completion_tokens": "max_tokens" }, - "supported_endpoints": [ - "/v1/chat/completions", - "/v1/responses" - ] + "supported_endpoints": ["/v1/chat/completions", "/v1/responses"] }, "tensormesh": { "base_url": "https://serverless.tensormesh.ai/v1", @@ -143,19 +140,13 @@ "param_mappings": { "max_completion_tokens": "max_tokens" }, - "supported_endpoints": [ - "/v1/chat/completions", - "/v1/responses" - ] + "supported_endpoints": ["/v1/chat/completions", "/v1/responses"] }, "parasail": { "base_url": "https://api.parasail.io/v1", "api_key_env": "PARASAIL_API_KEY", "api_base_env": "PARASAIL_API_BASE", - "supported_endpoints": [ - "/v1/chat/completions", - "/v1/responses" - ], + "supported_endpoints": ["/v1/chat/completions", "/v1/responses"], "special_handling": { "force_store_false": true } @@ -175,21 +166,14 @@ "param_mappings": { "max_completion_tokens": "max_tokens" }, - "supported_endpoints": [ - "/v1/chat/completions", - "/v1/responses" - ] + "supported_endpoints": ["/v1/chat/completions", "/v1/responses"] }, "meta": { "base_url": "https://api.meta.ai/v1", "api_key_env": "META_API_KEY", "api_base_env": "META_API_BASE", "base_class": "openai_gpt", - "supported_endpoints": [ - "/v1/chat/completions", - "/v1/responses", - "/v1/messages" - ] + "supported_endpoints": ["/v1/chat/completions", "/v1/responses", "/v1/messages"] }, "cognition": { "base_url": "https://api.cognition.ai/v1", @@ -203,11 +187,7 @@ "param_mappings": { "max_completion_tokens": "max_tokens" }, - "supported_endpoints": [ - "/v1/chat/completions", - "/v1/responses", - "/v1/embeddings" - ] + "supported_endpoints": ["/v1/chat/completions", "/v1/responses", "/v1/embeddings"] }, "scx-ai": { "base_url": "https://api.scx.ai/v1", @@ -219,9 +199,7 @@ "constraints": { "temperature_max": 1.99 }, - "supported_endpoints": [ - "/v1/chat/completions" - ] + "supported_endpoints": ["/v1/chat/completions"] }, "hefu": { "base_url": "https://api.hefu.hk/v1",