From 5db82c62d844193755178cb7f4f126ece19291c5 Mon Sep 17 00:00:00 2001 From: goulustis Date: Tue, 25 Nov 2025 13:19:40 +0800 Subject: [PATCH] moved to debug --- lang_agent/graphs/tool_nodes.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lang_agent/graphs/tool_nodes.py b/lang_agent/graphs/tool_nodes.py index c011cda..be16571 100644 --- a/lang_agent/graphs/tool_nodes.py +++ b/lang_agent/graphs/tool_nodes.py @@ -195,7 +195,8 @@ tool_node_dict = { tool_node_union = tyro.extras.subcommand_type_from_defaults(tool_node_dict, prefix_names=False) AnnotatedToolNode = tyro.conf.OmitSubcommandPrefixes[tyro.conf.SuppressFixed[tool_node_union]] -if __name__ == "__main__": + +def debug_chatty_node(): from langchain_core.messages.base import BaseMessageChunk from langchain_core.messages import BaseMessage @@ -222,3 +223,6 @@ if __name__ == "__main__": if isinstance(chunk, (BaseMessageChunk, BaseMessage)) and getattr(chunk, "content", None): print(chunk.content, end="", flush=True) + +if __name__ == "__main__": + pass \ No newline at end of file