🙌 OpenHands: AI-Driven Development
Fixed bool config having int value (#1708)
மனோஜ்குமார் பழனிச்சாமி24e61ead65ec
diff --git a/opendevin/core/config.py b/opendevin/core/config.pyindex 5ec5deb0d4..f453ce5cd7 100644--- a/opendevin/core/config.py+++ b/opendevin/core/config.py@@ -192,7 +192,7 @@ def load_from_env(config: AppConfig, env_or_toml_dict: dict | os._Environ):# Attempt to cast the env var to type hinted in the dataclassif field_type is bool:- cast_value = value.lower() in ['true', '1']+ cast_value = str(value).lower() in ['true', '1']else:cast_value = field_type(value)setattr(sub_config, field_name, cast_value)