Lịch sử commit

Tác giả SHA1 Thông báo Ngày
  CaIon f5b409d74f feat: refactor token estimation logic 5 tháng trước cách đây
  CaIon 84745d5ca4 feat: Add ContextKeyLocalCountTokens and update ResponseText2Usage to use context in multiple channels 6 tháng trước cách đây
  Seefs e1c7a4f41f format: package name -> github.com/QuantumNous/new-api (#2017) 7 tháng trước cách đây
  CaIon 6748b006b7 refactor: centralize logging and update resource initialization 9 tháng trước cách đây
  CaIon e2037ad756 refactor: Introduce pre-consume quota and unify relay handlers 9 tháng trước cách đây
  RedwindA b7c3ad0867 🐛 fix: Add nil check for xaiResponse.Usage before calculating CompletionTokens 10 tháng trước cách đây
  RedwindA ea3545cc7e 🐛 fix: Use correct dto for non-stream xai 10 tháng trước cách đây
  CaIon 98952198bb refactor: Introduce standardized API error 10 tháng trước cách đây
  CaIon 6b9237f868 🐛 fix: refactor JSON unmarshalling across multiple handlers to use UnmarshalJson and UnmarshalJsonStr for consistency 11 tháng trước cách đây
  CaIon 1f4cf07b63 🐛 fix: refactor response body handling in multiple relay handlers to utilize IOCopyBytesGracefully 11 tháng trước cách đây
  CaIon 281054ff4c 🐛 fix: replace direct response body closure with common.CloseResponseBodyGracefully for improved error handling 11 tháng trước cách đây
  CaIon 3002659f47 ✨ feat: add CloseResponseBodyGracefully function to handle HTTP response body closure 11 tháng trước cách đây
  CaIon a9e5d99ea3 refactor: token counter logic 11 tháng trước cách đây
  CaIon ef8ae4db80 fix: xAI usage 1 năm trước cách đây
  CaIon 8723e3f239 feat: add xAI handling and response processing 1 năm trước cách đây