Component evidence

utils/ModelInfo.kt

koog · agents/agents-utils/src/commonMain/kotlin/ai/koog/agents/utils/ModelInfo.kt · kotlin · Apache-2.0
ai

Data class for storing and parsing AI model identifiers and metadata for agent events.

Source preview first 800 characters · full source over MCP
// Source: https://github.com/JetBrains/koog | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
package ai.koog.agents.utils

import kotlinx.serialization.Serializable

/**
 * 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.
 *
 * @property provider The provider identifier (e.g., "openai", "google", "anthropic")
 * @property model The model identifier (e.g., "gpt-4", "claude-3")
 * @prop

... (truncated -- full source via MCP)