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

Class ChatCompletionFunctionCallOption

examples/server/server.py:2805–2811  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2803
2804
2805class ChatCompletionFunctionCallOption(BaseModel):
2806 model_config = ConfigDict(extra="ignore")
2807
2808 name: str
2809
2810 def to_template_function_call(self) -> ChatTemplateFunctionCall:
2811 return {"name": self.name}
2812
2813
2814class ChatCompletionToolChoiceObject(BaseModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…