Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/FastDeploy
/ ErrorInfo
Class
ErrorInfo
fastdeploy/entrypoints/openai/protocol.py:64–68 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
62
63
64
class
ErrorInfo(BaseModel):
65
message: str
66
type: Optional[str] = None
67
param: Optional[str] = None
68
code: Optional[str] = None
69
70
71
class
CompletionTokenUsageInfo(BaseModel):
Callers
14
handle_exception
Method · 0.90
handle_request_validation_exception
Method · 0.90
_create_error_response
Method · 0.90
create_completion
Method · 0.90
completion_full_generator
Method · 0.90
completion_stream_generator
Method · 0.90
create_chat_completion
Method · 0.90
_create_streaming_error_response
Method · 0.90
chat_completion_full_generator
Method · 0.90
control_scheduler
Function · 0.90
list_models
Method · 0.90
_preprocess
Method · 0.90
Calls
no outgoing calls
Tested by
1
test_chat_and_completion_routes
Function · 0.72