Significant-Gravitas / AutoGPT-Code-Ability

🖥️ AutoGPT's Coding Ability - empowering everyone to build software using AI
MIT License
100 stars 26 forks source link

Handle app configuration in a more clean manner #282

Open aarushik93 opened 1 month ago

aarushik93 commented 1 month ago

Currently, all of the config is scattered throughout the codebase. For example:

if settings.hosted and os.getenv("HOSTED_DEPLOYMENT") == "google": db_name, db_username = await create_cloud_db(repo)

We need to refactor this into config wrapper.