mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-22 07:04:59 +01:00
Merge branch 'main' into image-improvements
This commit is contained in:
@@ -41,6 +41,9 @@ def main():
|
||||
'max_tokens': int(os.environ.get('MAX_TOKENS', max_tokens_default)),
|
||||
'n_choices': int(os.environ.get('N_CHOICES', 1)),
|
||||
'temperature': float(os.environ.get('TEMPERATURE', 1.0)),
|
||||
'image_model': os.environ.get('IMAGE_MODEL', 'dall-e-2'),
|
||||
'image_quality': os.environ.get('IMAGE_QUALITY', 'standard'),
|
||||
'image_style': os.environ.get('IMAGE_STYLE', 'vivid'),
|
||||
'image_size': os.environ.get('IMAGE_SIZE', '512x512'),
|
||||
'model': model,
|
||||
'enable_functions': os.environ.get('ENABLE_FUNCTIONS', str(functions_available)).lower() == 'true',
|
||||
|
||||
Reference in New Issue
Block a user