# IncludeContents

enum IncludeContents : Enum<LlmAgent.IncludeContents>

Controls how prior conversation history is included in this agent's model request.

Mirrors the Python ADK `LlmAgent.include_contents` field (`Literal['default', 'none']`).

Note: This setting only affects the `contents` portion of the model request. The system instruction (managed by the instructions processor) and the available tools (managed by the basic request processor) are preserved in both modes.

## Entries

DEFAULT
Link copied to clipboard
DEFAULT

The model receives the relevant conversation history.

NONE
Link copied to clipboard
NONE

The model receives no prior history and operates solely on the current turn.

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<LlmAgent.IncludeContents>

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

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): LlmAgent.IncludeContents

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.)

values
Link copied to clipboard
fun values(): Array<LlmAgent.IncludeContents>

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