diff --git a/src/hugchat/message.py b/src/hugchat/message.py index 55e933a..5c14f3a 100644 --- a/src/hugchat/message.py +++ b/src/hugchat/message.py @@ -17,13 +17,11 @@ class WebSearchSource: title: str link: str - hostname: str def __str__(self): return json.dumps({ "title": self.title, "link": self.link, - "hostname": self.hostname, }) @@ -112,7 +110,6 @@ def __next__(self) -> dict: wss = WebSearchSource() wss.title = source["title"] wss.link = source["link"] - wss.hostname = source["hostname"] self.web_search_sources.append(wss) elif "messageType" in a: message_type: str = a["messageType"]