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

Method listProvidersFile

internal/appapi/providers.go:116–121  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

114}
115
116func (api ProviderAPI) listProvidersFile(ctx context.Context) (providers.File, error) {
117 if err := api.prepareProviderOperation(); err != nil {
118 return providers.File{}, err
119 }
120 return api.store().ListProviders(ctx)
121}
122
123// Init creates the SQLite app state database and deletes the legacy providers.json.
124func (api ProviderAPI) Init(ctx context.Context) (OperationResult, error) {

Callers 4

FileMethod · 0.95
ListMethod · 0.95
ShowMethod · 0.95
ResolveModelsMethod · 0.95

Calls 3

storeMethod · 0.95
ListProvidersMethod · 0.80

Tested by

no test coverage detected