API reference
API reference
Select your platform
No SDKs available
No versions available

LlmAgent Class

Extends MonoBehaviour
Thin chat agent that delegates to an IChatTask provider.

Properties

bool ProviderSupportsVision[Get]
IReadOnlyList< string > History[Get]
bool CanCapture[Get]

Fields

StringEvent onPromptSent[Get]
StringEvent onResponseReceived[Get]
Texture2DEvent onImageCaptured[Get]

Events

Action< string > OnAssistantReply

Member Functions

Task SendTextOnlyAsync
( string userText )
Capture passthrough if possible, otherwise send text only.
Send with a provided Texture2D (e.g., Inspector texture / fake camera).
Prefer passthrough image, fall back to text if not available.
Send with pre-built image inputs (URLs and/or bytes).