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.
Add temperature configuration option to Config class
Merwane Hamadi4faba1fdd8bb
diff --git a/scripts/config.py b/scripts/config.pyindex 255587d76f..cec7688bc2 100644--- a/scripts/config.py+++ b/scripts/config.py@@ -43,6 +43,7 @@ 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'if self.use_azure: