Skip to content

Conversation

@alisoliman
Copy link
Contributor

@alisoliman alisoliman commented Dec 14, 2025

  • Added AsyncAzureOpenAI client for non-blocking LLM calls
  • Converted 7 blocking endpoints to async (analyze_image, analyze_image_custom,
    enhance_image_prompt, protect_image_prompt, generate_image_filename in images.py;
    enhance_video_prompt, generate_video_filename in videos.py)
  • Wrapped blocking I/O operations in asyncio.to_thread() (Cosmos DB calls, requests.get/post in
    image_pipeline.py and gpt_image.py)
  • Fixed indentation errors in sora.py and videos.py async streaming code

@alisoliman alisoliman merged commit 112e38d into main Dec 27, 2025
3 checks passed
@alisoliman alisoliman deleted the fix-concurrency branch December 27, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants