MCPcopy Index your code
hub / github.com/lm-sys/FastChat / openai_api_server.py

File openai_api_server.py

fastchat/serve/openai_api_server.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""A server that provides OpenAI-compatible RESTful APIs. It supports:
2
3- Chat Completions. (Reference: https://platform.openai.com/docs/api-reference/chat)
4- Completions. (Reference: https://platform.openai.com/docs/api-reference/completions)

Callers

nothing calls this directly

Calls 3

build_loggerFunction · 0.90
AppSettingsClass · 0.85
create_openai_api_serverFunction · 0.85

Tested by

no test coverage detected