From c71d444831f96fef8a55538a18ff88a72d18d44b Mon Sep 17 00:00:00 2001 From: celeste1900 <253458269+celeste1900@users.noreply.github.com> Date: Mon, 6 Jul 2026 10:49:08 +0800 Subject: [PATCH] =?UTF-8?q?fix(ofox):=20address=20Greptile=20review=20?= =?UTF-8?q?=E2=80=94=20drop=20:free=20key,=20align=20advertised=20endpoint?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove ofox/z-ai/glm-4.7-flash:free (non-standard colon suffix, unsafe for litellm routing) - provider_endpoints_support: only advertise chat_completions + responses (the modalities this PR actually ships); embeddings/images/audio deferred with their models --- model_prices_and_context_window.json | 11 ----------- provider_endpoints_support.json | 6 +++--- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 17f61361752..ed5ede3eff4 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -45292,17 +45292,6 @@ "supports_vision": false, "cache_read_input_token_cost": 8e-08 }, - "ofox/z-ai/glm-4.7-flash:free": { - "max_tokens": 128000, - "max_input_tokens": 200000, - "max_output_tokens": 128000, - "input_cost_per_token": 0.0, - "output_cost_per_token": 0.0, - "litellm_provider": "ofox", - "mode": "chat", - "supports_function_calling": true, - "supports_vision": false - }, "ofox/z-ai/glm-4.7-flashx": { "max_tokens": 128000, "max_input_tokens": 200000, diff --git a/provider_endpoints_support.json b/provider_endpoints_support.json index 79cd61bd09a..5c1fa786255 100644 --- a/provider_endpoints_support.json +++ b/provider_endpoints_support.json @@ -2932,9 +2932,9 @@ "chat_completions": true, "messages": false, "responses": true, - "embeddings": true, - "image_generations": true, - "audio_transcriptions": true, + "embeddings": false, + "image_generations": false, + "audio_transcriptions": false, "audio_speech": false, "moderations": false, "batches": false,