From 001c88bfc21b0c10ee42b0d95f24712616a46a58 Mon Sep 17 00:00:00 2001 From: goulustis Date: Sat, 8 Nov 2025 17:10:19 +0800 Subject: [PATCH] update docs --- lang_agent/pipeline.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lang_agent/pipeline.py b/lang_agent/pipeline.py index 9414c8c..317862d 100644 --- a/lang_agent/pipeline.py +++ b/lang_agent/pipeline.py @@ -168,6 +168,10 @@ class Pipeline: yield chunk def chat(self, inp:str, as_stream:bool=False, as_raw:bool=False, thread_id:int = None): + """ + as_stream (bool): if true, enable the thing to be streamable + as_raw (bool): return full dialoge of List[SystemMessage, HumanMessage, ToolMessage] + """ # NOTE: this prompt will be overwritten by 'configs/route_sys_prompts/chat_prompt.txt' for route graph u = DEFAULT_PROMPT