We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 377de9e commit 78ad266Copy full SHA for 78ad266
examples/src/main/kotlin/ai/koog/agents/example/ApiKeyService.kt
@@ -2,7 +2,7 @@ package ai.koog.agents.example
2
3
internal object ApiKeyService {
4
val openAIApiKey: String
5
- get() = System.getenv("OPEN_AI_TOKEN") ?: throw IllegalArgumentException("OPENAI_API_KEY env is not set")
+ get() = System.getenv("OPENAI_API_KEY") ?: throw IllegalArgumentException("OPENAI_API_KEY env is not set")
6
7
val anthropicApiKey: String
8
get() = System.getenv("ANTHROPIC_API_KEY") ?: throw IllegalArgumentException("ANTHROPIC_API_KEY env is not set")
0 commit comments