InvokeAI/invokeai/app
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
..
api fix(mm): do not attempt to reinstall starter model dependencies 2024-03-20 15:05:25 +11:00
assets/images tweaks in response to psychedelicious review of PR 2023-07-26 15:27:04 +10:00
invocations feat: adaptation of Lineart Anime processor 2024-03-21 07:02:57 -07:00
services fix(config): do not write env vars to config files 2024-03-22 09:53:02 +11:00
shared tidy(nodes): move all field things to fields.py 2024-03-01 10:42:33 +11:00
util feat(mm): move HF token helper to route 2024-03-20 15:05:25 +11:00
__init__.py fix: make invocation_context.py accessible to mkdocs 2024-03-01 10:42:33 +11:00
api_app.py feat: move all config-related initialization to app 2024-03-20 15:05:25 +11:00
run_app.py feat: single app entrypoint with CLI arg parsing 2024-03-19 09:24:28 +11:00