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

Class ErrorResponse

llama_cpp/server/errors.py:26–32  ·  view source on GitHub ↗

OpenAI style error response

Source from the content-addressed store, hash-verified

24
25
26class ErrorResponse(TypedDict):
27 """OpenAI style error response"""
28
29 message: str
30 type: str
31 param: Optional[str]
32 code: Optional[str]
33
34
35class ErrorResponseFormatters:

Callers 3

model_not_foundMethod · 0.85
error_message_wrapperMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…