INNER CODE UNIT · Python

_mounted_skill_payload

wzn1118/AsteriaAnalyst · backend/app/main.py:135

def _mounted_skill_payload() -> dict[str, object]:
    curated = get_mounted_skills()
    external = list_mounted_lab_external_skills()
    skills = [*curated, *external]
    return {
        "summary": {
            "count": len(skills),
            "curated_count": len(curated),
            "external_count": len(external),
            "skill_ids": [str(item.get("id") or "") for item in skills if item.get("id")],
        },
        "skills": skills,
    }


def _require_codex_runtime_api_enabled() -> None:
    settings = load_runtime_settings()
    if settings.codex_runtime_api_enabled:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…