InvokeAI/invokeai/app/services/config
psychedelicious f538ed54fb fix(config): do not write env vars to config files
Add class `DefaultInvokeAIAppConfig`, which inherits from `InvokeAIAppConfig`. When instantiated, this class does not parse environment variables, so it outputs a "clean" default config. That's the only difference.

Then, we can use this new class in the 3 places:
- When creating the example config file (no env vars should be here)
- When migrating a v3 config (we want to instantiate the migrated config without env vars, so that when we write it out, they are not written to disk)
- When creating a fresh config file (i.e. on first run with an uninitialized root or new config file path - no env vars here!)
2024-03-22 09:53:02 +11:00
..
__init__.py refactor(config): simplified config 2024-03-19 09:24:28 +11:00
config_common.py refactor(config): simplified config 2024-03-19 09:24:28 +11:00
config_default.py fix(config): do not write env vars to config files 2024-03-22 09:53:02 +11:00