mirror of https://github.com/langgenius/dify.git
This commit is contained in:
parent
47664f8fd3
commit
ad3d9cf782
|
|
@ -285,6 +285,7 @@ class WebSiteInfoDetail(BaseModel):
|
|||
title: str = Field(..., description="The title of the website")
|
||||
description: str = Field(..., description="The description of the website")
|
||||
|
||||
|
||||
class WebSiteInfo(BaseModel):
|
||||
"""
|
||||
Website info
|
||||
|
|
@ -294,12 +295,9 @@ class WebSiteInfo(BaseModel):
|
|||
web_info_list: Optional[list[WebSiteInfoDetail]] = []
|
||||
|
||||
|
||||
|
||||
|
||||
class GetWebsiteCrawlResponse(BaseModel):
|
||||
"""
|
||||
Get website crawl response
|
||||
"""
|
||||
|
||||
result: WebSiteInfo = WebSiteInfo(job_id="", status="", web_info_list=[])
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue