Skip to main content
AgentChatOptions is the optional second argument to agent.chat() — settings that apply to one turn only.

Quick Start


Options

Examples

attachments are images only (.jpg, .jpeg, .png, .gif, .webp). A non-image or unreadable input is reported through the warning channel and skipped — the turn is never failed. On the AI SDK backend, multimodal attachments emit a “not yet honoured” parity notice.

Agent

The chat() method

Streaming

Token and event streams