mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
ca07449fb4
In the latest redux, unknown actions are typed as `unknown`. This forces type-safety upon us, requiring us to be more careful about the shape of actions. In this case, we don't know if the rejection has a payload or what shape it may be in, so we need to do runtime checks. This is implemented with a simple zod schema, but probably the right way to handle this is to have consistent types in our RTK-Query error logic. |
||
---|---|---|
.. | ||
CLI | ||
install | ||
merge | ||
training | ||
web | ||
__init__.py | ||
legacy_launch_invokeai.py |