#21115 request to update cloudflare workers ai provider implementation to reflect cloudflare’s expanded ai api
hi,
i’m trying to use the cloudflare workers ai provider through litellm, but the current implementation is outdated. cloudflare’s ai api has expanded significantly since this provider was last updated (~10 months ago), now supporting many more endpoints and models (including text-to-image, text-to-speech, embeddings, image classification, summarization, and a much larger set of models).
the existing provider implementation in litellm only supports basic chat usage and does not align with the current cloudflare ai api surface, which limits functionality and makes it difficult to use the full range of cloudflare ai features through litellm.
this is both a bug and a missing feature: if possible, please update the cloudflare provider to support the expanded cloudflare ai api.
thanks.
refs: - https://developers.cloudflare.com/api/resources/ai/methods/run/ - https://github.com/BerriAI/litellm/blob/main/litellm/llms/cloudflare/chat/transformation.py - https://docs.litellm.ai/docs/providers/cloudflare_workers