INNER CODE UNIT · Python

main

lishuangqiang/AI-Meeting · skills/xunzhi-ai-runtime/scripts/extract_config_index.py:69

def main() -> None:
    app_flat = flatten(load_yaml(APP_YAML))
    followup_flat = flatten(load_yaml(FOLLOWUP_YAML))
    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:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…