[CYS] Fix error when repeating the prompt on consecutives runs (#46872)
* Fix error when the repeating the prompt * Add changefile(s) from automation for the following project(s): woocommerce --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
75b7775e1b
commit
79c5359a49
|
@ -253,8 +253,8 @@ export const updateStorePatterns = async (
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
} );
|
} );
|
||||||
|
|
||||||
if ( ! images.images.length ) {
|
if ( ! images ) {
|
||||||
if ( is_ai_generated ) {
|
if ( ! is_ai_generated ) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
'AI content not generated: images not available'
|
'AI content not generated: images not available'
|
||||||
);
|
);
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: minor
|
||||||
|
Type: fix
|
||||||
|
|
||||||
|
[CYS] Fix bug making the AI flow fail on the same prompt.
|
Loading…
Reference in New Issue