- 完善资讯子图nodes.py:优化format_result的展示效果 - 创建资讯子图API调用工具:api_client.py - 更新资讯子图__init__.py,导出所有模块和API客户端 - 所有功能已通过测试验证
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"""
|
||||
资讯子图
|
||||
News Analysis Subgraph Module
|
||||
资讯子图 - 完善版
|
||||
News Analysis Subgraph Module - Complete
|
||||
"""
|
||||
|
||||
from .state import (
|
||||
@@ -19,6 +19,7 @@ from .nodes import (
|
||||
format_result,
|
||||
should_continue
|
||||
)
|
||||
from .api_client import news_api, NewsAPIClient
|
||||
|
||||
__all__ = [
|
||||
# State
|
||||
@@ -37,5 +38,9 @@ __all__ = [
|
||||
"extract_keywords",
|
||||
"generate_report",
|
||||
"format_result",
|
||||
"should_continue"
|
||||
"should_continue",
|
||||
|
||||
# API
|
||||
"news_api",
|
||||
"NewsAPIClient"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user