fix(ofox): address Greptile review — drop :free key, align advertised endpoints

- 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
This commit is contained in:
celeste1900 2026-07-06 10:49:08 +08:00
parent dc7f695a13
commit c71d444831
2 changed files with 3 additions and 14 deletions

View file

@ -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,

View file

@ -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,