AgentMode

How an LlmAgent converses when it runs as a workflow node or a delegated sub-agent. The modes are part of the experimental workflow API.

Entries

Link copied to clipboard

Answers one input with one response, without conversing with the user.

Link copied to clipboard

Holds a multi-turn conversation with the user over the shared session history.

Link copied to clipboard

Works on a delegated task in its own isolated history until it calls finish_task.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): AgentMode

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.