Skip to content
providerkit
GitHub

AgentInput

type AgentInput =
| string
| readonly InputPart[]
| {
messages: readonly AgentMessage[];
};

Defined in: agents/src/types.ts:182

A new turn, or a whole conversation whose last message is the new user turn.