recover legacy task type

This commit is contained in:
yzlin 2024-03-13 16:29:28 +08:00
parent 9d453c5c10
commit 77eacec1b8
3 changed files with 16 additions and 2 deletions

View file

@ -23,7 +23,7 @@ IMAP_SERVERS = {
}
@register_tool()
@register_tool(tags=["email login"])
def email_login_imap(email_address, email_password):
"""
Use imap_tools package to log in to your email (the email that supports IMAP protocol) to verify and return the account object.

View file

@ -28,7 +28,7 @@ As the design pays tribute to large companies, sometimes it is normal for some c
Now, please generate the corresponding webpage code including HTML, CSS and JavaScript:"""
@register_tool(include_functions=["__init__", "generate_webpages", "save_webpages"])
@register_tool(tags=["image2webpage"], include_functions=["__init__", "generate_webpages", "save_webpages"])
class GPTvGenerator:
"""Class for generating webpage code from a given webpage screenshot.