From 2c04d8bf9cda513df0c07344a9578c48d2b1d180 Mon Sep 17 00:00:00 2001 From: Kumi Date: Sat, 18 May 2024 21:31:17 +0200 Subject: [PATCH] refactor: remove unused json import from ai base The ai base module in gptbot no longer requires the json package, leading to its removal. This cleanup enhances code readability and reduces unnecessary import overhead, streamlining the functionality of the ai base class without affecting its external behavior. Such optimizations contribute to the overall maintainability and performance of the codebase. --- src/gptbot/classes/ai/base.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gptbot/classes/ai/base.py b/src/gptbot/classes/ai/base.py index fbf9117..3b83b9e 100644 --- a/src/gptbot/classes/ai/base.py +++ b/src/gptbot/classes/ai/base.py @@ -1,7 +1,6 @@ from ...classes.logging import Logger import asyncio -import json from functools import partial from typing import Any, AsyncGenerator, Dict, Optional, Mapping