mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): revert node type change of metadata_accumulator
-> core_metadata
The type of this node was changed due to breaking changes in f0db4d36e4
.
The change to the node type means pending queue items using this node would break if the app was updated.
In the end, there were no breaking changes, so to prevent queue items being stale and erroring, we can safely revert the change.
Note: This node was hidden from the workflow editor, so nobody has used it there in any official release.
This commit is contained in:
parent
8dca194e2c
commit
2f89081d37
@ -112,8 +112,10 @@ GENERATION_MODES = Literal[
|
||||
]
|
||||
|
||||
|
||||
@invocation("core_metadata", title="Core Metadata", tags=["metadata"], category="metadata", version="1.0.0")
|
||||
class CoreMetadataInvocation(BaseInvocation):
|
||||
@invocation(
|
||||
"metadata_accumulator", title="Metadata Accumulator", tags=["metadata"], category="metadata", version="2.0.0"
|
||||
)
|
||||
class MetadataAccumulatorInvocation(BaseInvocation):
|
||||
"""Collects core generation metadata into a MetadataField"""
|
||||
|
||||
generation_mode: Optional[GENERATION_MODES] = InputField(
|
||||
|
@ -56,7 +56,7 @@ export const IP_ADAPTER = 'ip_adapter';
|
||||
export const DYNAMIC_PROMPT = 'dynamic_prompt';
|
||||
export const IMAGE_COLLECTION = 'image_collection';
|
||||
export const IMAGE_COLLECTION_ITERATE = 'image_collection_iterate';
|
||||
export const METADATA = 'core_metadata';
|
||||
export const METADATA = 'metadata_accumulator';
|
||||
export const BATCH_METADATA = 'batch_metadata';
|
||||
export const BATCH_METADATA_COLLECT = 'batch_metadata_collect';
|
||||
export const BATCH_SEED = 'batch_seed';
|
||||
|
@ -9,7 +9,7 @@ export const addCoreMetadataNode = (
|
||||
): void => {
|
||||
graph.nodes[METADATA] = {
|
||||
id: METADATA,
|
||||
type: 'core_metadata',
|
||||
type: 'metadata_accumulator',
|
||||
...metadata,
|
||||
};
|
||||
|
||||
|
494
invokeai/frontend/web/src/services/api/schema.d.ts
vendored
494
invokeai/frontend/web/src/services/api/schema.d.ts
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user