-
Add nil-check for `GetRequestMutex` across handlers to prevent potential panics
released this
2025-08-28 16:23:37 +00:00 | 2034 commits to main since this release- Updated all handlers to safely unlock the request mutex only if it's non-nil.
- Enhanced mutex locking and unlocking logic to avoid runtime errors.
- Improved robustness of resource cleanup across clients.
Add
GetRequestMutexmethod for synchronization across clients- Introduced a new
GetRequestMutexmethod in OpenAICompatibilityClient, CodexClient, GeminiCLIClient, GeminiClient, and QwenClient for request synchronization. - Ensures only one request is processed at a time to manage quotas effectively.
Downloads