From aafa2b025f23b9f7231145544c74036a538fb40c Mon Sep 17 00:00:00 2001 From: goulustis Date: Thu, 29 Jan 2026 09:44:21 +0800 Subject: [PATCH] add type hinting --- lang_agent/pipeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang_agent/pipeline.py b/lang_agent/pipeline.py index 7a8afa9..9c62035 100644 --- a/lang_agent/pipeline.py +++ b/lang_agent/pipeline.py @@ -105,7 +105,7 @@ class Pipeline: else: logger.info(f"show graph not supported for {type(self.graph)}") - def invoke(self, *nargs, **kwargs): + def invoke(self, *nargs, **kwargs)->str: out = self.graph.invoke(*nargs, **kwargs) # If streaming, yield chunks from the generator