Adds POST /v1/chat/completions to the cf-text FastAPI service so it can be used as an openai_compat backend in LLMRouter without any router changes. The endpoint accepts the standard OpenAI chat request format and returns a standard chat.completion response. 4 tests added; all 36 text tests pass. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_backend.py | ||
| test_oai_compat.py | ||