Variable: E_UNSUPPORTED_MEDIA_MODALITY
ts
const E_UNSUPPORTED_MEDIA_MODALITY: CreatedException<[string, string, string]>;Defined in: src/batteries/llm/litert_lm/exceptions.ts:86
Raised when a @nhtio/adk!Media instance whose modality cannot be represented for the LiteRT-LM model reaches the adapter under unsupportedMediaPolicy: 'throw'.
Remarks
The @litert-lm/core types expose audioModalityEnabled / visionModalityEnabled, but the preview .litertlm models are text-in/text-out today. Media this adapter cannot map (or that the configured model does not accept) triggers this under the 'throw' policy; switch to 'fallback-stash' or 'synthetic-description' to degrade to a text representation instead.
Printf args: [kind, mimeType, filename].