mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-25 09:54:23 +01:00
this changes it so the file from config is used, rather than a hardcoded name that might not exist (#3189)
This commit is contained in:
@@ -280,7 +280,7 @@ class Agent:
|
||||
str: A feedback response generated using the provided thoughts dictionary.
|
||||
"""
|
||||
|
||||
with open("ai_settings.yaml", "r") as yaml_file:
|
||||
with open(Config().ai_settings_file, "r") as yaml_file:
|
||||
parsed_yaml = yaml.safe_load(yaml_file)
|
||||
ai_role = parsed_yaml["ai_role"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user