MCPcopy
hub / github.com/mudler/LocalAI / WithApiKeys

Function WithApiKeys

core/config/application_config.go:753–757  ·  view source on GitHub ↗
(apiKeys []string)

Source from the content-addressed store, hash-verified

751}
752
753func WithApiKeys(apiKeys []string) AppOption {
754 return func(o *ApplicationConfig) {
755 o.ApiKeys = apiKeys
756 }
757}
758
759func WithAgentJobRetentionDays(days int) AppOption {
760 return func(o *ApplicationConfig) {

Callers 4

app_test.goFile · 0.92
auth_test.goFile · 0.92
RunMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected