Skip to content

Commit 78ad266

Browse files
authored
Change OPEN_AI_TOKEN to OPENAI_API_KEY (#203)
1 parent 377de9e commit 78ad266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/main/kotlin/ai/koog/agents/example/ApiKeyService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package ai.koog.agents.example
22

33
internal object ApiKeyService {
44
val openAIApiKey: String
5-
get() = System.getenv("OPEN_AI_TOKEN") ?: throw IllegalArgumentException("OPENAI_API_KEY env is not set")
5+
get() = System.getenv("OPENAI_API_KEY") ?: throw IllegalArgumentException("OPENAI_API_KEY env is not set")
66

77
val anthropicApiKey: String
88
get() = System.getenv("ANTHROPIC_API_KEY") ?: throw IllegalArgumentException("ANTHROPIC_API_KEY env is not set")

0 commit comments

Comments
 (0)