MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / delete_chat

Function delete_chat

backend/tests/api_services/assistant/chat.py:41–46  ·  view source on GitHub ↗
(assistant_id: str, chat_id: str)

Source from the content-addressed store, hash-verified

39
40
41async def delete_chat(assistant_id: str, chat_id: str):
42 headers = get_headers(CONFIG.Authentication)
43 async with aiohttp.ClientSession(headers=headers) as session:
44 request_url = f"{ASSISTANT_BASE_URL}/{assistant_id}/chats/{chat_id}"
45 response = await session.delete(request_url)
46 return ResponseWrapper(response.status, await response.json())

Callers 1

test_delete_chatMethod · 0.90

Calls 4

get_headersFunction · 0.90
ResponseWrapperClass · 0.90
deleteMethod · 0.45
jsonMethod · 0.45

Tested by 1

test_delete_chatMethod · 0.72