AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix read config file encoding that broke Chinese
profoundc5f0cb3d3faa
diff --git a/scripts/ai_config.py b/scripts/ai_config.pyindex bd373944fc..743c87e4e0 100644--- a/scripts/ai_config.py+++ b/scripts/ai_config.py@@ -46,7 +46,7 @@ class AIConfig:"""try:- with open(config_file) as file:+ with open(config_file, encoding='utf-8') as file:config_params = yaml.load(file, Loader=yaml.FullLoader)except FileNotFoundError:config_params = {}