ModelInfo
data class ModelInfo(val provider: String, val model: String, val displayName: String? = null, val contextLength: Long? = null, val maxOutputTokens: Long? = null)(source)
Represents model information for agent events with a focus on essential data.
This data class provides the core model identification needed for agent events, including key model characteristics that are useful for debugging and monitoring. It serves as a lightweight representation optimized for serialization and backwards compatibility.
Constructors
Types
Properties
Link copied to clipboard
Maximum number of tokens the model can process
Link copied to clipboard
Optional human-readable display name for the model
Link copied to clipboard
Backwards compatibility: provides the same string format as legacy model representation Format: "provider:model"
Link copied to clipboard
Maximum number of tokens the model can generate
Link copied to clipboard
Model identifier name for display purposes Falls back to "provider/model" if displayName is not provided