temperature should not be an Int. it can be any value between 0-1

pull/1121/head
Yossi Marouani 2023-04-13 17:19:02 +03:00
parent 294fa5f85e
commit dd15900804
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,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.temperature = float(os.getenv("TEMPERATURE", "1"))
self.use_azure = False
self.use_azure = os.getenv("USE_AZURE") == 'True'
self.execute_local_commands = os.getenv('EXECUTE_LOCAL_COMMANDS', 'False') == 'True'