I want pyrogram.Client to expose an async generator method stream media(message, limit: int = 0, offset…
I want pyrogram.Client to expose an async generator method stream media(message, limit: int = 0, offset…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). When I call async for chunk in app.stream media(message): , it should yield bytes chunks from the beginning of…
The task
When I call `async for chunk in app.stream_media(message):`, it should yield `bytes` chunks from the beginning of the media, with each chunk no larger than 1 MiB. Passing `limit=3` should yield at most the first three chunks, and passing `offset=3` should skip the first three chunks before yielding. Passing a…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.