mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 14:04:27 +01:00
Merge branch 'Torantulino:master' into kinance-resolve-debug-config-conflict
This commit is contained in:
@@ -17,6 +17,8 @@ import traceback
|
||||
import yaml
|
||||
import argparse
|
||||
|
||||
cfg = Config()
|
||||
|
||||
def check_openai_api_key():
|
||||
"""Check if the OpenAI API key is set in config.py or as an environment variable."""
|
||||
if not cfg.openai_api_key:
|
||||
|
||||
Reference in New Issue
Block a user