Removed unnecessary awaits
This commit is contained in:
@@ -66,7 +66,6 @@ class BaseTelegramInferenceBot(ABC):
|
||||
if user_id in self.conversation_history:
|
||||
del self.conversation_history[user_id]
|
||||
|
||||
# Assuming tool.clear() is for global state or doesn't need user_id
|
||||
for tool in self.tools:
|
||||
tool.clear()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user