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

Method Show

internal/desktop/provider_service.go:47–53  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

45}
46
47func (s *ProviderService) Show(name string) (ProviderDTO, error) {
48 provider, err := s.api().Show(context.Background(), name)
49 if err != nil {
50 return ProviderDTO{}, wrapProviderError("PROVIDER_NOT_FOUND", err, name)
51 }
52 return providerDTOFromAPI(provider), nil
53}
54
55func (s *ProviderService) Add(input ProviderInput) (ProviderDTO, error) {
56 s.mu.Lock()

Callers 1

Calls 3

apiMethod · 0.95
wrapProviderErrorFunction · 0.85
providerDTOFromAPIFunction · 0.85

Tested by 1