LeonSGP43
465193b7eb
fix(gateway): close temporary agents after one-off tasks
Add shared _cleanup_agent_resources() for temporary gateway AIAgent
instances. Apply cleanup to memory flush, background tasks, /btw,
manual /compress, and session-hygiene auto-compression. Prevents
unclosed aiohttp client session leaks.
Cherry-picked from #10899 by @LeonSGP43. Consolidates #10945 by @Lubrsy706.
Fixes #10865.
Co-authored-by: Lubrsy706 <Lubrsy706@users.noreply.github.com>
2026-04-16 06:31:23 -07:00
..
2026-04-15 22:05:21 -07:00
2026-04-16 02:26:14 -07:00
2026-04-15 11:11:08 -07:00
2026-04-11 13:59:52 -07:00
2026-04-16 06:31:23 -07:00
2026-04-16 02:22:09 -07:00
2026-04-15 19:12:19 -07:00
2026-04-13 16:32:04 -07:00
2026-04-14 10:49:35 -07:00
2026-04-16 02:44:56 -07:00
2026-04-16 04:22:16 -07:00
2026-04-16 04:19:34 -07:00
2026-04-13 10:50:24 -07:00
2026-04-12 03:53:30 -07:00
2026-04-12 16:36:11 -07:00
2026-04-13 10:50:24 -07:00
2026-04-11 23:12:11 -07:00
2026-04-13 22:01:49 -07:00
2026-04-14 10:42:58 -07:00
2026-04-14 17:19:20 -07:00
2026-04-13 10:50:24 -07:00
2026-04-14 10:24:19 -07:00