Skip to content

Commit f4f9e25

Browse files
committed
get_text was added by mistake
1 parent 654a8d7 commit f4f9e25

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/agentlab/llm/llm_utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,6 @@ def __str__(self, warn_if_image=False) -> str:
340340

341341
return "\n".join([elem["text"] for elem in self["content"] if elem["type"] == "text"])
342342

343-
def get_text(self):
344-
return str(self, no_warning=True)
345-
346343
def add_content(self, type: str, content: Any):
347344
if isinstance(self["content"], str):
348345
text = self["content"]

0 commit comments

Comments
 (0)