AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Merge pull request #1028 from merwanehamadi/feature/add-ability-change-temperature
Richard Beales886117d82e74
diff --cc scripts/config.pyindex 8781c431d1,cec7688bc2..79295ffb72--- a/scripts/config.py+++ b/scripts/config.py@@@ -43,10 -43,9 +43,11 @@@ class Config(metaclass=Singleton)self.smart_token_limit = int(os.getenv("SMART_TOKEN_LIMIT", 8000))self.openai_api_key = os.getenv("OPENAI_API_KEY")+ self.temperature = int(os.getenv("TEMPERATURE", "1"))self.use_azure = Falseself.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")