ToolNodeBase
This commit is contained in:
@@ -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"]]
|
||||||
Reference in New Issue
Block a user