From 0b9e1193618027d75262140cd9975b4b7e28ae79 Mon Sep 17 00:00:00 2001 From: bucolucas Date: Thu, 5 Jun 2025 18:06:13 -0500 Subject: [PATCH] removed trailing slash --- openai_compatible_inference_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openai_compatible_inference_bot.py b/openai_compatible_inference_bot.py index 7cdabfa..9e34141 100644 --- a/openai_compatible_inference_bot.py +++ b/openai_compatible_inference_bot.py @@ -245,7 +245,7 @@ class OpenAICompatibleInferenceBot(InferenceBot): module_name = f'tools.{filename[:-3]}' try: module = importlib.import_module(module_name) - for name, obj in inspect.getmembers(module):\ + for name, obj in inspect.getmembers(module): if inspect.isclass(obj) and issubclass(obj, BaseTool) and obj != BaseTool: try: tools.append(obj()) # This instantiation might be an issue for tools needing config