feat: backwards invoke tools

This commit is contained in:
Yeuoly
2024-10-10 18:09:06 +08:00
parent 699d41deec
commit 118fa66567
7 changed files with 99 additions and 16 deletions

View File

@ -32,6 +32,11 @@ class RequestInvokeTool(BaseModel):
Request to invoke a tool
"""
tool_type: Literal["builtin", "workflow", "api"]
provider: str
tool: str
tool_parameters: dict
class BaseRequestInvokeModel(BaseModel):
provider: str