Merge #66 into develop from feature/20251219_xjn
feat(tool system): Tool info add tags variable * feature/20251219_xjn: (1 commits) feat(tool system): Tool info add tags variable Signed-off-by: 谢俊男 <accounts_6853d0ea6f8174722fb0c8f1@mail.teambition.com> Reviewed-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com> Merged-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com> CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/66
This commit is contained in:
@@ -191,6 +191,7 @@ class ToolCreateRequest(BaseModel):
|
||||
icon: Optional[str] = Field(None, max_length=255)
|
||||
tool_type: ToolType
|
||||
config: Dict[str, Any] = Field(default_factory=dict)
|
||||
tags: List[str] = Field(default_factory=list)
|
||||
|
||||
|
||||
class ToolUpdateRequest(BaseModel):
|
||||
@@ -200,6 +201,7 @@ class ToolUpdateRequest(BaseModel):
|
||||
icon: Optional[str] = Field(None, max_length=255)
|
||||
config: Optional[Dict[str, Any]] = None
|
||||
is_enabled: Optional[bool] = None
|
||||
tags: Optional[List[str]] = None
|
||||
|
||||
|
||||
class ToolExecuteRequest(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user