add default value for streamable_tags

This commit is contained in:
2026-02-28 10:56:23 +08:00
parent 18d75e754b
commit 49405782af

View File

@@ -32,7 +32,7 @@ class LangToolBase(ABC):
class GraphBase(ABC): class GraphBase(ABC):
workflow: CompiledStateGraph # the main workflow workflow: CompiledStateGraph # the main workflow
streamable_tags: List[List[str]] # which llm to stream outputs; see routing.py for complex usage streamable_tags: List[List[str]] = [["main_llm"]] # which llm to stream outputs; see routing.py for complex usage
textreleaser_delay_keys: List[str] = (None, None) # use to control when to start streaming; see routing.py for complex usage textreleaser_delay_keys: List[str] = (None, None) # use to control when to start streaming; see routing.py for complex usage
def _build_modules(self): def _build_modules(self):