(assistant_id: str, chat_id: str)
| 39 | |
| 40 | |
| 41 | async 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()) |