litellm-mirror/litellm/llms/cloudflare/chat/handler.py
Ishaan Jaff bd39e1ab5d
(Refactor) Code Quality improvement - Use Common base handler for cloudflare/ provider (#7127)
* add get_complete_url to base config

* cloudflare - refactor to following existing pattern

* migrate cloudflare chat completions to base llm http handler

* fix unused import

* fix fake stream in cloudflare

* fix cloudflare transformation

* fix naming for BaseModelResponseIterator

* add async cloudflare streaming test

* test cloudflare

* add handler.py

* add handler.py in cohere handler.py
2024-12-10 10:12:22 -08:00

5 lines
138 B
Python

"""
Cloudflare - uses `llm_http_handler.py` to make httpx requests
Request/Response transformation is handled in `transformation.py`
"""