InvokeAI/invokeai
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
..
app fix(config): do not write env vars to config files 2024-03-22 09:53:02 +11:00
assets feat(api): chore: pydantic & fastapi upgrade 2023-10-17 14:59:25 +11:00
backend allow checkpoint config files to use root-relative paths 2024-03-22 08:57:45 +11:00
configs cleanup: remove unused scripts, cruft 2024-03-20 15:05:25 +11:00
frontend fix(ui): migrate redux state that has models 2024-03-22 07:55:13 +11:00
invocation_api feat(nodes): "ModelField" -> "ModelIdentifierField", add hash/name/base/type 2024-03-10 11:03:38 +11:00
version Update rc version, regenerate schema 2024-03-20 08:21:23 -07:00
__init__.py Various fixes 2023-01-30 18:42:17 -05:00