Files
new-api/common
CaIon 9c08d8cf20 feat: introduce IOCopyBytesGracefully function for streamlined response body handling
This update adds the IOCopyBytesGracefully function to the common package, which simplifies the process of copying response bodies in the OpenAI handlers. It enhances error handling and ensures proper resource management by encapsulating the logic for setting headers and writing response data. The OpenAI handlers have been refactored to utilize this new function, improving code clarity and maintainability.
2025-06-27 22:36:12 +08:00
..
2025-06-27 17:08:20 +08:00
2025-03-12 21:31:46 +08:00
2023-04-22 20:39:27 +08:00
2024-07-07 02:24:51 +08:00
2024-04-04 16:35:44 +08:00
2023-11-21 18:11:07 +08:00
2023-04-22 20:39:27 +08:00
2024-12-24 20:46:02 +08:00
2024-06-27 19:30:17 +08:00
2023-04-22 20:39:27 +08:00
2023-04-22 20:39:27 +08:00