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

Method cacheTTL

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

Source from the content-addressed store, hash-verified

102}
103
104func (api ProviderAPI) cacheTTL() time.Duration {
105 if api.CacheTTL > 0 {
106 return api.CacheTTL
107 }
108 return time.Hour
109}
110
111func (api ProviderAPI) prepareProviderOperation() error {
112 deleteProvidersJSON()

Callers 1

ResolveModelsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected