发布

  • [OPIK-5950] [FE] fix: surface no-agents-registered state in agent sandbox (#6351)

    frostbyte_neo 发布于 2026-04-20 08:46:22 +00:00

    • [OPIK-5950] [FE] fix: surface no-agents-registered state in agent sandbox

    Previously the Input tab showed "Loading agent..." forever when a runner
    paired but registered zero agents (crash-looping subprocess, missing
    @opik.track(entrypoint=True), or script exiting before registration).
    After a 20s grace period, render a panel-local destructive notice with
    the three most common causes so users can self-diagnose without digging
    into backend state.

    Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

    • refactor(agent-sandbox): list common causes in no-agents notice

    Per reviewer feedback, surface the three most common causes inline
    (missing decorator, process exited before registration, script didn't
    import entrypoint) alongside the existing terminal pointer so users
    can self-diagnose without leaving the UI.

    Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com


    Co-authored-by: Claude Opus 4.7 (1M context) noreply@anthropic.com

    下载附件