mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-23 07:35:06 +01:00
align with the behavior of other variables
This commit is contained in:
@@ -49,6 +49,7 @@ def main():
|
||||
'frequency_penalty': float(os.environ.get('FREQUENCY_PENALTY', 0.0)),
|
||||
'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', ''),
|
||||
}
|
||||
|
||||
if openai_config['enable_functions'] and not functions_available:
|
||||
|
||||
Reference in New Issue
Block a user