From a8fd1780d390e7c925ffdc033b1d6d9e462b12e5 Mon Sep 17 00:00:00 2001 From: userpj Date: Fri, 1 Nov 2024 14:21:42 +0800 Subject: [PATCH] update docs --- .../core/console/appbuilder_client/data_class.py | 4 +++- docs/basic_module/get_app_list.md | 16 ++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/appbuilder/core/console/appbuilder_client/data_class.py b/appbuilder/core/console/appbuilder_client/data_class.py index a77d98ecd..32643972f 100644 --- a/appbuilder/core/console/appbuilder_client/data_class.py +++ b/appbuilder/core/console/appbuilder_client/data_class.py @@ -305,7 +305,9 @@ class AppOverview(BaseModel): id: str = Field("", description="应用ID") name: str = Field("", description="应用名称") description: str = Field("", description="应用简介") - appType: Optional[str] = Field(None, description="应用类型") + appType: Optional[str] = Field( + None, description="应用类型:agent、chatflow。agent:自主规划Agent, chatflow:工作流Agent。" + ) isPublished: Optional[bool] = Field(None, description="是否已发布") updateTime: Optional[int] = Field(None, description="更新时间") diff --git a/docs/basic_module/get_app_list.md b/docs/basic_module/get_app_list.md index 26248e7c0..696e23fee 100644 --- a/docs/basic_module/get_app_list.md +++ b/docs/basic_module/get_app_list.md @@ -30,9 +30,11 @@ class AppOverview(BaseModel): id: str = Field("", description="应用ID") name: str = Field("", description="应用名称") description: str = Field("", description="应用简介") - appType: str = Field("", description="应用类型") - isPublished: bool = Field(False, description="是否已发布") - updateTime: int = Field(None, description="更新时间") + appType: Optional[str] = Field( + None, description="应用类型:agent、chatflow。agent:自主规划Agent, chatflow:工作流Agent。" + ) + isPublished: Optional[bool] = Field(None, description="是否已发布") + updateTime: Optional[int] = Field(None, description="更新时间") ``` @@ -66,9 +68,11 @@ class AppOverview(BaseModel): id: str = Field("", description="应用ID") name: str = Field("", description="应用名称") description: str = Field("", description="应用简介") - appType: str = Field("", description="应用类型") - isPublished: bool = Field(False, description="是否已发布") - updateTime: int = Field(None, description="更新时间") + appType: Optional[str] = Field( + None, description="应用类型:agent、chatflow。agent:自主规划Agent, chatflow:工作流Agent。" + ) + isPublished: Optional[bool] = Field(None, description="是否已发布") + updateTime: Optional[int] = Field(None, description="更新时间") ``` #### 代码示例