From 3c56d1cac793cfd2e7b452323c5e31f1c5196658 Mon Sep 17 00:00:00 2001 From: goulustis Date: Fri, 21 Nov 2025 22:36:26 +0800 Subject: [PATCH] ToolNodeBase --- lang_agent/base.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lang_agent/base.py b/lang_agent/base.py index 479744a..21d99cd 100644 --- a/lang_agent/base.py +++ b/lang_agent/base.py @@ -31,4 +31,10 @@ class GraphBase(ABC): logger.info("creating image") img = Image.open(BytesIO(self.workflow.get_graph().draw_mermaid_png())) plt.imshow(img) - plt.show() \ No newline at end of file + plt.show() + + +class ToolNodeBase(GraphBase): + @abstractmethod + def get_streamable_tags(self)->List[List[str]]: + return [["tool_llm"]] \ No newline at end of file