fixed upenai
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user