wip: 2026-08-11 工作树快照(docs/memory/h5.py/scripts 等 447 项未评审改动,安全提交到 feat 分支)

This commit is contained in:
Simon
2026-08-11 09:59:44 +08:00
parent 6be361fb63
commit f2fd4fa012
447 changed files with 273482 additions and 1386 deletions
+14
View File
@@ -0,0 +1,14 @@
import sys, json
d = json.load(sys.stdin)
nodes = d.get('graph', {}).get('nodes', [])
llms = [n for n in nodes if n.get('data', {}).get('type') == 'llm']
print(f'Total LLM nodes: {len(llms)}')
for n in llms:
title = n['data']['title']
sys_prompt = [p for p in n['data'].get('prompt_template', []) if p.get('role') == 'system']
if sys_prompt:
text = sys_prompt[0].get('text', '')
print(f' {title}: sys_prompt_len={len(text)}, contains_json={"JSON" in text or "json" in text}')
else:
print(f' {title}: NO system prompt')