Definitively.AgentProfile.Builder (definitively v0.4.1)

Copy Markdown

Builds subprocess argv from an agent profile, node, and prompt.

Summary

Functions

Resolves executable and argv for an agent profile invocation.

Types

build_result()

@type build_result() :: {String.t(), [String.t()]}

stdin_build_result()

@type stdin_build_result() :: {String.t(), [String.t()], String.t()}

Functions

build(profile, node, prompt)

Resolves executable and argv for an agent profile invocation.

Returns {:ok, {executable, argv}} or {:ok, {executable, argv, prompt}} for stdin mode.