LemonRouter.SubmissionBuilder (lemon_router v0.1.0)

View Source

Builds the router-owned submission handed from orchestration to coordination.

This module resolves profile/session defaults, sticky engine state, resume behavior, and conversation selection before constructing the canonical %LemonCore.ExecutionCommand{} and wrapping it in %LemonRouter.Submission{}.

Summary

Functions

build(params, opts)

@spec build(LemonCore.RunRequest.t(), map()) ::
  {:ok, LemonRouter.Submission.t()} | {:error, term()}