mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-20 14:14:52 +01:00
added ENABLE_VISION_FOLLOW_UP_QUESTIONS support
This commit is contained in:
@@ -53,6 +53,8 @@ def main():
|
||||
'bot_language': os.environ.get('BOT_LANGUAGE', 'en'),
|
||||
'show_plugins_used': os.environ.get('SHOW_PLUGINS_USED', 'false').lower() == 'true',
|
||||
'whisper_prompt': os.environ.get('WHISPER_PROMPT', ''),
|
||||
'vision_model': os.environ.get('VISION_MODEL', 'gpt-4-vision-preview'),
|
||||
'enable_vision_follow_up_questions': os.environ.get('ENABLE_VISION_FOLLOW_UP_QUESTIONS', 'true').lower() == 'true',
|
||||
'vision_prompt': os.environ.get('VISION_PROMPT', 'What is in this image'),
|
||||
'vision_detail': os.environ.get('VISION_DETAIL', 'auto'),
|
||||
'vision_max_tokens': int(os.environ.get('VISION_MAX_TOKENS', '300')),
|
||||
|
||||
Reference in New Issue
Block a user