Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ getAnthropicAPIKeyFromEnv
Function
getAnthropicAPIKeyFromEnv
coderd/taskname/taskname.go:124–126 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
122
}
123
124
func
getAnthropicAPIKeyFromEnv() string {
125
return
os.Getenv(
"ANTHROPIC_API_KEY"
)
126
}
127
128
func
getAnthropicModelFromEnv() anthropic.Model {
129
return
anthropic.Model(os.Getenv(
"ANTHROPIC_MODEL"
))
Callers
2
Generate
Function · 0.85
TestGenerateFromAnthropic
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestGenerateFromAnthropic
Function · 0.68