Definitively. Domain. AgentProfile
(definitively v0.5.0)
Copy Markdown
YAML agent profile for LLM node subprocess invocation.
Summary
Functions
Default output config for legacy command/stub LLM paths.
Types
@type extract_mode() :: :last_json_line | :whole_stdout
@type output_config() :: %{ format: output_format(), extract: extract_mode(), envelope_path: String.t() | nil, success_status: String.t() }
@type output_format() :: :stream_json | :json | :text
@type prompt_config() :: %{mode: prompt_mode(), flag: String.t() | nil}
@type prompt_mode() :: :argv_after_delimiter | :flag | :stdin
@type t() :: %Definitively.Domain.AgentProfile{ argv: [String.t()], executable: String.t() | nil, executable_env: String.t() | nil, id: atom(), output: output_config(), prompt: prompt_config() }
Functions
@spec legacy_output() :: output_config()
Default output config for legacy command/stub LLM paths.