mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-12-25 04:01:52 +03:00
commit
c138f30c84
@ -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]))
|
||||||
|
Loading…
Reference in New Issue
Block a user