fixed upenai

This commit is contained in:
2024-08-19 13:38:39 -05:00
parent fe6c4e5684
commit f920da8537
2 changed files with 24 additions and 13 deletions
+3
View File
@@ -47,6 +47,9 @@ class BaseTelegramInferenceBot(ABC):
def clear_conversation(self, user_id):
if user_id in self.conversation_history:
del self.conversation_history[user_id]
for tool in self.tools:
tool.clear()
def call_tool(self, function_call_name, function_call_arguments):
function_name = function_call_name