mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-24 17:28:07 -05:00
For example: ```py my_field: Literal["foo", "bar"] | None = InputField(default=None) ``` Previously, this would cause a field parsing error and prevent the app from loading. Two fixes: - This type annotation and resultant schema are now parsed correctly - Error handling added to template building logic to prevent the hang at startup when an error does occur