MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / create_chat_completion

Route create_chat_completion

llama_cpp/server/app.py:None–None  ·  view source on GitHub ↗
router.post(
    "/v1/chat/completions",
    summary="Chat",
    dependencies=[Depends(authenticate)],
    response_model=Union[llama_cpp.ChatCompletion, str],
    responses={
        "200": {
       

Source from the content-addressed store, hash-verified

1from __future__ import annotations
2
3import os
4import json

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected