Fix linter errors

This commit is contained in:
Bernhard Mueller
2023-04-13 12:43:25 +07:00
parent 946700fcf7
commit f79c7c4d1e
2 changed files with 1 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ class Config(metaclass=Singleton):
self.use_azure = False
self.use_azure = os.getenv("USE_AZURE") == 'True'
self.execute_local_commands = os.getenv('EXECUTE_LOCAL_COMMANDS', 'False') == 'True'
if self.use_azure:
self.openai_api_base = os.getenv("OPENAI_AZURE_API_BASE")
self.openai_api_version = os.getenv("OPENAI_AZURE_API_VERSION")

View File

@@ -49,8 +49,6 @@ def execute_python_file(file):
except Exception as e:
return f"Error: {str(e)}"
def execute_shell(command_line):