MCPcopy Create free account
hub / github.com/betta-tech/byo-coding-agent / apiKeyEnv

Function apiKeyEnv

commands.go:204–213  ·  view source on GitHub ↗
(provider string)

Source from the content-addressed store, hash-verified

202}
203
204func apiKeyEnv(provider string) string {
205 switch provider {
206 case "openai":
207 return "OPENAI_API_KEY"
208 case "anthropic":
209 return "ANTHROPIC_API_KEY"
210 default:
211 return ""
212 }
213}
214
215func cmdClear(_ string) {
216 rootAgent.ClearMessages()

Callers 2

cmdProviderFunction · 0.85
apiKeySetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected