Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
gpt-4-vision-preview is deprecated n3d1117#623
  • Loading branch information
tyapinalexandr authored Jul 31, 2024
1 parent 732f4b0 commit 57af7d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def main():
'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'),
'vision_model': os.environ.get('VISION_MODEL', 'gpt-4o'),
'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'),
Expand Down

0 comments on commit 57af7d2

Please sign in to comment.