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