MCPcopy
hub / github.com/AstrBotDevs/AstrBot / list_provider_sources

Function list_provider_sources

astrbot/dashboard/api/providers.py:100–104  ·  view source on GitHub ↗
(
    _auth: AuthContext = Depends(require_provider_scope),
    service: ProviderConfigService = Depends(get_service),
)

Source from the content-addressed store, hash-verified

98
99@router.get("/provider-sources")
100async def list_provider_sources(
101 _auth: AuthContext = Depends(require_provider_scope),
102 service: ProviderConfigService = Depends(get_service),
103):
104 return ok(service.list_provider_sources())
105
106
107@router.post("/provider-sources")

Callers

nothing calls this directly

Calls 2

okFunction · 0.90
list_provider_sourcesMethod · 0.80

Tested by

no test coverage detected