mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 22:44:21 +01:00
Add temperature configuration option to Config class
This commit is contained in:
@@ -43,6 +43,7 @@ class Config(metaclass=Singleton):
|
|||||||
self.smart_token_limit = int(os.getenv("SMART_TOKEN_LIMIT", 8000))
|
self.smart_token_limit = int(os.getenv("SMART_TOKEN_LIMIT", 8000))
|
||||||
|
|
||||||
self.openai_api_key = os.getenv("OPENAI_API_KEY")
|
self.openai_api_key = os.getenv("OPENAI_API_KEY")
|
||||||
|
self.temperature = int(os.getenv("TEMPERATURE", "1"))
|
||||||
self.use_azure = False
|
self.use_azure = False
|
||||||
self.use_azure = os.getenv("USE_AZURE") == 'True'
|
self.use_azure = os.getenv("USE_AZURE") == 'True'
|
||||||
if self.use_azure:
|
if self.use_azure:
|
||||||
|
|||||||
Reference in New Issue
Block a user