Packages

A Gleam framework for building AI agents — type-safe, multi-provider, with tool calling, streaming, and simulation testing

Current section

Files

Jump to
glean include glean@run_RunResult.hrl
Raw

include/glean@run_RunResult.hrl

-record(run_result, {
text :: binary(),
messages :: list(glean@message:message()),
content :: list(glean@provider:generated_content()),
usage :: glean@stream:usage(),
finish_reason :: glean@error:finish_reason(),
steps :: integer(),
step_results :: list(glean@run:step_result())
}).