Merge pull request #2206 from Parthsadaria/patch-1

Fixed MetaAI.py
This commit is contained in:
Tekky 2024-08-30 22:41:06 +02:00 committed by GitHub
commit c138f30c84
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(): class Sources():
def __init__(self, link_list: List[Dict[str, str]]) -> None: def __init__(self, link_list: List[Dict[str, str]]) -> None:
self.link = link_list self.list = link_list
def __str__(self) -> str: def __str__(self) -> str:
return "\n\n" + ("\n".join([f"[{link['title']}]({link['link']})" for link in self.list])) return "\n\n" + ("\n".join([f"[{link['title']}]({link['link']})" for link in self.list]))