Feat/tool secret parameter (#2760)

This commit is contained in:
Yeuoly 2024-03-08 20:31:13 +08:00 • committed by GitHub
commit ce58f0607b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 490 additions and 117 deletions

View file

@ -100,6 +100,7 @@ class ToolParameter(BaseModel):
NUMBER = "number"
BOOLEAN = "boolean"
SELECT = "select"
SECRET_INPUT = "secret-input"
class ToolParameterForm(Enum):
SCHEMA = "schema" # should be set while adding tool