sycommon-python-lib 0.2.7a6__py3-none-any.whl → 0.2.7a7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -599,8 +599,10 @@ class DeepAgent:
599
599
  args_str = str(tc_args_l)[:100]
600
600
  SYLogger.debug(
601
601
  f"[DeepAgent #{stream_step}] tool_call | {tc_l.get('name','?')} | args={args_str}")
602
- elif not (msg.content or ""):
603
- # 检查是否有 reasoning_content(思考模式下内容在 reasoning_content 而非 content)
602
+ elif _STREAM_DEBUG and not (msg.content or ""):
603
+ # 仅在 DEEP_AGENT_STREAM_DEBUG=true 时打印逐 chunk 诊断日志。
604
+ # 生产环境默认关闭:思考模式下每 token 都会触发此分支,
605
+ # "(empty)"/"reasoning_content" 行数会随回答长度线性增长,刷爆日志量。
604
606
  _rc = (
605
607
  getattr(msg, "reasoning_content", None)
606
608
  or getattr(msg, "additional_kwargs", {}).get("reasoning_content", None)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sycommon-python-lib
3
- Version: 0.2.7a6
3
+ Version: 0.2.7a7
4
4
  Summary: Add your description here
5
5
  Requires-Python: >=3.11
6
6
  Description-Content-Type: text/markdown
@@ -11,16 +11,16 @@ Requires-Dist: anyio==4.14.1
11
11
  Requires-Dist: decorator==5.3.1
12
12
  Requires-Dist: deepagents==0.6.11
13
13
  Requires-Dist: elasticsearch==9.4.1
14
- Requires-Dist: fastapi==0.138.0
14
+ Requires-Dist: fastapi==0.138.1
15
15
  Requires-Dist: jinja2==3.1.6
16
- Requires-Dist: kafka-python==3.0.2
16
+ Requires-Dist: kafka-python==3.0.6
17
17
  Requires-Dist: langchain==1.3.11
18
18
  Requires-Dist: langchain-core==1.4.8
19
19
  Requires-Dist: langchain-openai==1.3.3
20
- Requires-Dist: langfuse==4.9.1
20
+ Requires-Dist: langfuse==4.12.0
21
21
  Requires-Dist: langgraph==1.2.6
22
22
  Requires-Dist: langgraph-checkpoint-postgres==3.1.0
23
- Requires-Dist: langgraph-checkpoint-redis==0.4.1
23
+ Requires-Dist: langgraph-checkpoint-redis==0.5.0
24
24
  Requires-Dist: ldap3==2.9.1
25
25
  Requires-Dist: loguru==0.7.3
26
26
  Requires-Dist: mysql-connector-python==9.7.0
@@ -136,7 +136,7 @@ sycommon/services.py,sha256=CwC_gESafo05Qn41KLQgtulx6PfX7s2FkxlBI-hXve4,24861
136
136
  sycommon/agent/__init__.py,sha256=mxceAeUifQ-DKvWp7ZEJIFlmOCb5wpYHPGQw3rwEN8I,4378
137
137
  sycommon/agent/agent_manager.py,sha256=UhhaekEumT7g4v_Z1UB4jTp13X0n8M8erYaQdkGGWkA,13620
138
138
  sycommon/agent/chat_events.py,sha256=t7qWa6OrIWLfqtd1AnqaVP67QWkn1JxpCBTZYQpoLuM,14226
139
- sycommon/agent/deep_agent.py,sha256=ZcqQ8aVo6PYx3YWzV8aEV9HRtuXuoVUyXWGwXUJ_VTw,67278
139
+ sycommon/agent/deep_agent.py,sha256=08PIMuO_XbKrKBsvewfBqEWQy-2rUlbjh9icHJCakH4,67495
140
140
  sycommon/agent/multi_agent_team.py,sha256=mskS-FJbAB_n5kghjHhiWxpA3L9cD1lObeW_wjrLI6s,27079
141
141
  sycommon/agent/summarization_utils.py,sha256=zAnNtqzZ6mKmLVpLQLgcnbdV0D5ohxpAjPkg9Uz2V7s,17934
142
142
  sycommon/agent/acp/__init__.py,sha256=vQGMQYAA5-ZaejYmDZ4r4Fklqs17qH3cDXQ5pZlwj-0,1844
@@ -305,8 +305,8 @@ sycommon/tools/syemail.py,sha256=BDFhgf7WDOQeTcjxJEQdu0dQhnHFPO_p3eI0-Ni3LhQ,561
305
305
  sycommon/tools/timing.py,sha256=OiiE7P07lRoMzX9kzb8sZU9cDb0zNnqIlY5pWqHcnkY,2064
306
306
  sycommon/xxljob/__init__.py,sha256=7eoBlQxv-B39IfRSCY2bkqdGYs1QRe1umAWd88VMEEM,86
307
307
  sycommon/xxljob/xxljob_service.py,sha256=1yifwIBNGsCIxLnQjHKiBlbsigc_zvPH-dMTZcNxe-Q,7649
308
- sycommon_python_lib-0.2.7a6.dist-info/METADATA,sha256=hU2LQjrN0I2oL5pC9AnipDDJG2khY7jdB1TW98tN3Es,7960
309
- sycommon_python_lib-0.2.7a6.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
310
- sycommon_python_lib-0.2.7a6.dist-info/entry_points.txt,sha256=gsR4SssKxDWjRU8ggidzNcdMXDPRSKRS7UaGyNP84Qg,92
311
- sycommon_python_lib-0.2.7a6.dist-info/top_level.txt,sha256=RgphKrg7nJyZ7irJqbxFr-5H2LUYTvI7ivoWZH2hcD0,29
312
- sycommon_python_lib-0.2.7a6.dist-info/RECORD,,
308
+ sycommon_python_lib-0.2.7a7.dist-info/METADATA,sha256=N0tzTBj_YOHqwinNKsiMxYV34Nf0jnUG34-q0yoVIXs,7961
309
+ sycommon_python_lib-0.2.7a7.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
310
+ sycommon_python_lib-0.2.7a7.dist-info/entry_points.txt,sha256=gsR4SssKxDWjRU8ggidzNcdMXDPRSKRS7UaGyNP84Qg,92
311
+ sycommon_python_lib-0.2.7a7.dist-info/top_level.txt,sha256=RgphKrg7nJyZ7irJqbxFr-5H2LUYTvI7ivoWZH2hcD0,29
312
+ sycommon_python_lib-0.2.7a7.dist-info/RECORD,,