MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / handle_chat_completions

Function handle_chat_completions

uncommon_route/proxy.py:5814–5816  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

5812 )
5813
5814 async def handle_chat_completions(request: Request) -> Response:
5815 body = await request.json()
5816 return await _handle_chat_core(body, request, endpoint_name="chat_completions")
5817
5818 async def handle_messages(request: Request) -> Response:
5819 raw = await request.json()

Callers

nothing calls this directly

Calls 1

_handle_chat_coreFunction · 0.85

Tested by

no test coverage detected