File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1536,7 +1536,7 @@ async def generate_content(
15361536 "Failed to parse JSON from markdown code block for image prompt: %s" ,
15371537 parse_error ,
15381538 )
1539-
1539+
15401540 # Build product description for DALL-E context
15411541 # Include detailed image descriptions if available for better color accuracy
15421542 product_description = detailed_image_context if detailed_image_context else product_context
@@ -1606,7 +1606,7 @@ async def generate_content(
16061606 "proceeding without 'violations' / 'requires_modification'." ,
16071607 exc_info = True ,
16081608 )
1609-
1609+
16101610 except Exception as e :
16111611 logger .exception (f"Error generating content: { e } " )
16121612 results ["error" ] = str (e )
@@ -1778,7 +1778,7 @@ async def regenerate_image(
17781778 "Failed to parse JSON from image modification response fallback: %s" ,
17791779 parse_error ,
17801780 )
1781-
1781+
17821782 results ["image_prompt" ] = prompt_text
17831783 results ["message" ] = f"Regenerating image: { change_summary } "
17841784
Original file line number Diff line number Diff line change @@ -315,7 +315,7 @@ async def get_conversation(
315315 user_id ,
316316 exc ,
317317 )
318-
318+
319319 return None
320320
321321 async def save_conversation (
You can’t perform that action at this time.
0 commit comments