ToolNodeBase

This commit is contained in:
2025-11-21 22:36:26 +08:00
parent 00296f1fb6
commit 3c56d1cac7

View File

@@ -31,4 +31,10 @@ class GraphBase(ABC):
logger.info("creating image") logger.info("creating image")
img = Image.open(BytesIO(self.workflow.get_graph().draw_mermaid_png())) img = Image.open(BytesIO(self.workflow.get_graph().draw_mermaid_png()))
plt.imshow(img) plt.imshow(img)
plt.show() plt.show()
class ToolNodeBase(GraphBase):
@abstractmethod
def get_streamable_tags(self)->List[List[str]]:
return [["tool_llm"]]