MCPcopy
hub / github.com/TaskingAI/TaskingAI / get_provider

Function get_provider

backend/tests/api_services/model/provider.py:16–21  ·  view source on GitHub ↗
(params: dict)

Source from the content-addressed store, hash-verified

14
15
16async def get_provider(params: dict):
17 headers = get_headers(CONFIG.Authentication)
18 async with aiohttp.ClientSession(headers=headers) as session:
19 request_url = f"{PROVIDER_BASE_URL}/get"
20 response = await session.get(request_url, params=params)
21 return ResponseWrapper(response.status, await response.json())

Callers 1

test_get_providerMethod · 0.90

Calls 4

get_headersFunction · 0.90
ResponseWrapperClass · 0.90
getMethod · 0.45
jsonMethod · 0.45

Tested by 1

test_get_providerMethod · 0.72