MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / ChatCompletionToolsParam

Class ChatCompletionToolsParam

fastdeploy/entrypoints/openai/protocol.py:234–240  ·  view source on GitHub ↗

Chat completion tools parameter.

Source from the content-addressed store, hash-verified

232
233
234class ChatCompletionToolsParam(BaseModel):
235 """
236 Chat completion tools parameter.
237 """
238
239 type: Literal["function"] = "function"
240 function: FunctionDefinition
241
242
243class ChatMessage(BaseModel):

Callers 1

test_validate_toolsMethod · 0.90

Calls

no outgoing calls

Tested by 1

test_validate_toolsMethod · 0.72