add notes

This commit is contained in:
2025-11-28 17:38:48 +08:00
parent 0ff6cf9f3b
commit 232c69d785

View File

@@ -9,6 +9,9 @@ from langgraph.graph.state import CompiledStateGraph
class LangToolBase(ABC):
"""
class to inherit if to create a new local tool
"""
@abstractmethod
def get_tool_fnc(self)->List[Callable]:
@@ -37,4 +40,7 @@ class GraphBase(ABC):
class ToolNodeBase(GraphBase):
@abstractmethod
def get_streamable_tags(self)->List[List[str]]:
"""
returns names of llm model to listen to when streaming
"""
return [["tool_llm"]]