utils/ModelInfo.kt

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

ModelInfo.kt from JetBrains/koog

// 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)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key