CaIon
d9595831bf
fix(billing): improve quota handling and error reporting for pre-consume operations
2026-07-11 13:14:22 +08:00
CaIon
d0bd8aac74
fix(billing): validate quantity parameters and harden quota calculations
...
Bound user-supplied count/duration parameters at request validation,
route ratio multipliers through guarded setters, and use saturating
int conversions in all quota math paths.
2026-07-07 00:21:06 +08:00
CaIon
59a93cf5c7
fix(openai): align image streaming relay governance
...
Route OpenAI image streaming through shared stream handling, split image/realtime/usage helpers for maintainability, and include the related image request and rate limit updates.
2026-06-10 17:47:37 +08:00
gaoren002 and CaIon
d2576ddcd3
fix(openai): support streaming image relay and image edit for images API ( #4608 )
...
* fix(openai): support streaming image relay
* fix(openai): keep image edit multipart body reusable
* test(openai): cover image stream usage details
* test(openai): cover image edit fallback stream field
* fix(openai): wrap image json fallback as stream
* fix(relay): support OpenAI image streaming
* fix(openai): record image stream upstream error events
* fix(openai): harden image stream relay
* fix(openai): return image JSON errors
* fix(relay): reset stream status per scanner run
* fix(relay): drop upstream credit passthrough
* fix(openai): keep image errors minimal
* fix(openai): keep image error status from response
---------
Co-authored-by: CaIon <i@caion.me >
2026-06-08 18:36:17 +08:00