Update MetaAI.py

This commit is contained in:
Parth Sadaria 2024-08-29 19:46:59 +05:30 committed by GitHub
parent 3b570bf2f1
commit c5c180932f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ from .helper import format_prompt, get_connector, format_cookies
class Sources():
def __init__(self, link_list: List[Dict[str, str]]) -> None:
self.link = link_list
self.list = link_list
def __str__(self) -> str:
return "\n\n" + ("\n".join([f"[{link['title']}]({link['link']})" for link in self.list]))