INNER CODE UNIT · Python
merged
lishuangqiang/AI-Meeting · skills/xunzhi-ai-runtime/scripts/extract_config_index.py:72
merged = {**app_flat, **followup_flat}
grouped = group_by_prefix(merged)
lines = [
"# 运行时配置索引(自动生成)",
"",
"该文档从 `application.yaml` 和 `interview-followup-rule.yaml` 自动提取。改配置后请重新运行 `scripts/extract_config_index.py`。",
"",
]
for prefix in TARGET_PREFIXES:
items = grouped.get(prefix)
if not items:
continue
lines.extend([f"## {prefix}", "", "| 键 | 值 |", "| --- | --- |"])
for key, value in items:
display = str(value).replace("\n", "<br>")
lines.append(f"| `{key}` | `{display}` |")
lines.append("")