From c5c180932fff65c27c33ce35361722c26b02ff81 Mon Sep 17 00:00:00 2001 From: Parth Sadaria <146802298+Parthsadaria@users.noreply.github.com> Date: Thu, 29 Aug 2024 19:46:59 +0530 Subject: Update MetaAI.py --- g4f/Provider/MetaAI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g4f') diff --git a/g4f/Provider/MetaAI.py b/g4f/Provider/MetaAI.py index f1ef348a..218b7ebb 100644 --- a/g4f/Provider/MetaAI.py +++ b/g4f/Provider/MetaAI.py @@ -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])) -- cgit v1.2.3