Skip to content

refactor(orchestrator): extract shared output parsing helper #786

@AlexMikhalev

Description

@AlexMikhalev

Context

~40 lines of CLI tool matching + parser dispatch are duplicated between drain_output_events() and poll_agent_exits().

Proposed fix

Extract parse_agent_output(cli_tool, line, session_id, model) -> Option<CompletionEvent> helper.

Refs #538 (Gitea), Refs #523

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions