module RubyLLM::AgUI::Validation

Shared shape checks for untrusted JSON.

Every method raises an InputError subclass whose message names the offending member but never quotes the value, so a host can return it to the client without echoing request bytes back.

Included by RubyLLM::AgUI::Input::Parser and RubyLLM::AgUI::MessageParser.

Constants

MAX_CONTENT_LENGTH

The longest accepted free-text string.

MAX_ID_LENGTH

The longest accepted id (threadId, runId, message id, interrupt id).