feat(shipping-notice): 新增通用解析能力,优化性能并清理遗留废弃代码

This commit is contained in:
hugo committed 2026-08-23 00:27:18 +08:00
1 parent 935bf26fa6
commit 7cfd5d167e
230 files changed
+9337 -10989

No files matched your search

@@ -17,7 +17,7 @@ class ChatStreamContext:
"""
/api/chat/completions 单次流式请求上下文。
核心字段:用户/Agent/会话、Dify 入参、adapter_hints 与领域锚点(task_id/batch_no)。
核心字段:用户/Agent/会话、Dify 入参、adapter_hints 与领域锚点(task_id)。
"""
query: str
@@ -30,7 +30,6 @@ class ChatStreamContext:
normalized_files: list[dict] | None = None
adapter_hints: dict[str, Any] | None = None
shipping_task_id: str = ''
shipping_batch_no: str = ''
kb_type: str = '企业知识库'
hxops_turn_id: str | None = None