Agent Zero AI framework
Update settings.py
Jan Tomášeke52b0ecf434f
diff --git a/python/helpers/settings.py b/python/helpers/settings.pyindex 866ab5306..48232054a 100644--- a/python/helpers/settings.py+++ b/python/helpers/settings.py@@ -38,7 +38,7 @@ def get_default_value(name: str, value: T) -> T:if isinstance(value, bool):return env_value.strip().lower() in ('true', '1', 'yes', 'on') # type: ignoreelif isinstance(value, dict):- return json.loads(env_value) # type: ignore+ return json.loads(env_value.strip()) # type: ignoreelif isinstance(value, str):return str(env_value).strip() # type: ignoreelse: