diff options
Diffstat (limited to 'autogpts/autogpt/autogpt/config/ai_profile.py')
-rw-r--r-- | autogpts/autogpt/autogpt/config/ai_profile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autogpts/autogpt/autogpt/config/ai_profile.py b/autogpts/autogpt/autogpt/config/ai_profile.py index 970f8278c..3f0043c79 100644 --- a/autogpts/autogpt/autogpt/config/ai_profile.py +++ b/autogpts/autogpt/autogpt/config/ai_profile.py @@ -35,7 +35,7 @@ class AIProfile(BaseModel): try: with open(ai_settings_file, encoding="utf-8") as file: - config_params = yaml.load(file, Loader=yaml.FullLoader) or {} + config_params = yaml.load(file, Loader=yaml.SafeLoader) or {} except FileNotFoundError: config_params = {} |