MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / getenv

Method getenv

internal/appapi/providers.go:97–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95}
96
97func (api ProviderAPI) getenv() func(string) string {
98 if api.Env != nil {
99 return api.Env
100 }
101 return os.Getenv
102}
103
104func (api ProviderAPI) cacheTTL() time.Duration {
105 if api.CacheTTL > 0 {

Callers 7

ListMethod · 0.95
ShowMethod · 0.95
AddMethod · 0.95
UpdateMethod · 0.95
SetEnabledMethod · 0.95
RenameMethod · 0.95
ResolveModelsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected