unsloth/studio/backend/routes
Daniel Han-Chen 07b0cf7d2c Replace asyncio.get_event_loop with asyncio.get_running_loop for PR #5754
asyncio.get_event_loop() is deprecated in Python 3.10 and will be
removed. Replace with asyncio.get_running_loop() at five call sites
that all run inside async def functions where a running loop is
guaranteed: two async_generate helpers in diffusion.py and three
run_in_executor sites in routes/inference.py (audio synth, diffusion
load, streaming chat). Addresses the gemini-code-assist bot review.
2026-05-26 00:28:23 +00:00
..
data_recipe Fix/adjust diffusion: round 33 P1 batch for PR #5754 2026-05-25 16:57:28 +00:00
.gitkeep root studio folder 2026-02-02 09:13:49 +00:00
__init__.py Studio: persist chat history in backend storage (#5272) 2026-05-22 06:18:05 -07:00
auth.py studio: proxy-aware login rate-limit; allow google favicons in CSP (#5489) 2026-05-18 00:02:15 -07:00
chat_history.py Studio: persist chat history in backend storage (#5272) 2026-05-22 06:18:05 -07:00
datasets.py Fix/adjust diffusion: filename validator order, 503 mapping, token redaction for PR #5754 2026-05-25 21:22:13 +00:00
export.py Fix/adjust diffusion: export active-state guards, cleanup window, unload race for PR #5754 2026-05-25 22:18:02 +00:00
inference.py Replace asyncio.get_event_loop with asyncio.get_running_loop for PR #5754 2026-05-26 00:28:23 +00:00
models.py Fix/adjust diffusion: round 28 P1 + P2 batch for PR #5754 2026-05-25 14:21:37 +00:00
providers.py Studio: per-session cost calculator + /api/providers/pricing endpoint (#5690) 2026-05-22 06:03:43 -07:00
training.py Fix/adjust diffusion: round 30 follow-up P1 batch for PR #5754 2026-05-25 15:30:58 +00:00
training_history.py Studio: Dark theme refactor, right sidebar redesign, and chat UI polish (#5150) 2026-05-07 14:33:31 +04:00