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

Route create_completion

llama_cpp/server/app.py:None–None  ·  view source on GitHub ↗
router.post(
    "/v1/completions",
    summary="Completion",
    dependencies=[Depends(authenticate)],
    response_model=Union[
        llama_cpp.CreateCompletionResponse,
        str,
    ],
    re

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