proposit-core
    Preparing search index...

    Function executeTurn

    • Run one conversational turn: execute the stage through the single-stage executor (preserving retry loop, output-schema validation, event emission, token accounting) while threading previousResponseId into the LLM request and surfacing the provider response id.

      Uses a synthetic pipeline so executeStage can run the arbitrary stage through the same execution machinery the full pipeline uses. The stage's own dependsOn are preserved; since no upstream stages exist, any dependencies that are satisfied will be completed (they simply don't exist, so ctx.get returns undefined for them).

      Type Parameters

      • TOut

      Parameters

      Returns Promise<TTurnResult<TOut>>