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

Method Init

internal/desktop/provider_service.go:24–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24func (s *ProviderService) Init() (OperationResult, error) {
25 s.mu.Lock()
26 defer s.mu.Unlock()
27
28 result, err := s.api().Init(context.Background())
29 if err != nil {
30 return OperationResult{}, wrapError("PROVIDER_INIT_FAILED", err)
31 }
32 return operationResultDTO(result), nil
33}
34
35func (s *ProviderService) List() ([]ProviderDTO, error) {
36 listed, err := s.api().List(context.Background())

Calls 3

apiMethod · 0.95
wrapErrorFunction · 0.85
operationResultDTOFunction · 0.85