InvokeAI/invokeai
psychedelicious 9abfb02bf0 fix(ui): model metadata handlers use model identifiers, not configs
Model metadata includes the main model, VAE and refiner model.

These used full model configs, as returned by the server, as their metadata type.

LoRA and control adapter metadata only use the metadata identifier.

This created a difference in handling. After parsing a model/vae/refiner, we have its name and can display it. But for LoRAs and control adapters, we only have the model key and must query for the full model config to get the name.

This change makes main model/vae/refiner metadata only have the model key, like LoRAs and control adapters.

The render function is now async so fetching can occur within it. All metadata fields with models now only contain the identifier, and fetch the model name to render their values.
2024-03-01 10:42:33 +11:00
..
app feat(nodes): update LoRAMetadataItem model 2024-03-01 10:42:33 +11:00
assets feat(api): chore: pydantic & fastapi upgrade 2023-10-17 14:59:25 +11:00
backend fix(mm): fix ModelCacheBase method name 2024-03-01 10:42:33 +11:00
configs use official Deliberate download repo 2024-03-01 10:42:33 +11:00
frontend fix(ui): model metadata handlers use model identifiers, not configs 2024-03-01 10:42:33 +11:00
invocation_api feat(nodes): add more missing exports to invocation_api 2024-03-01 10:42:33 +11:00
version {release} 3.7.0 2024-02-15 07:34:31 -07:00
__init__.py Various fixes 2023-01-30 18:42:17 -05:00
README CODEOWNERS coarse draft 2023-03-03 14:36:43 -05:00

Organization of the source tree:

app -- Home of nodes invocations and services
assets -- Images and other data files used by InvokeAI
backend -- Non-user facing libraries, including the rendering
	core.
configs -- Configuration files used at install and run times
frontend -- User-facing scripts, including the CLI and the WebUI
version -- Current InvokeAI version string, stored
	in version/invokeai_version.py