Историја ревизија

Аутор SHA1 Порука Датум
  CaIon 5238f279db feat: record stream interruption reasons via StreamStatus пре 1 месец
  funkpopo 0aa3dcb56c feat(xai): 为xAI渠道添加/v1/responses支持 (#2897) пре 3 месеци
  CaIon 1fededceb3 feat: refactor token estimation logic пре 5 месеци
  CaIon c8bbf7bed8 feat: Add ContextKeyLocalCountTokens and update ResponseText2Usage to use context in multiple channels пре 5 месеци
  Seefs 5010f2d004 format: package name -> github.com/QuantumNous/new-api (#2017) пре 7 месеци
  CaIon c9e9a24e99 refactor: centralize logging and update resource initialization пре 9 месеци
  CaIon 97ea8b6560 refactor: Introduce pre-consume quota and unify relay handlers пре 9 месеци
  RedwindA 3368b26880 🐛 fix: Add nil check for xaiResponse.Usage before calculating CompletionTokens пре 10 месеци
  RedwindA f30a0f7783 🐛 fix: Use correct dto for non-stream xai пре 10 месеци
  CaIon 4a9ca4209a refactor: Introduce standardized API error пре 10 месеци
  CaIon e2c34bdeb9 🐛 fix: refactor JSON unmarshalling across multiple handlers to use UnmarshalJson and UnmarshalJsonStr for consistency пре 10 месеци
  CaIon aae9e81c20 🐛 fix: refactor response body handling in multiple relay handlers to utilize IOCopyBytesGracefully пре 10 месеци
  CaIon 6db7a84787 🐛 fix: replace direct response body closure with common.CloseResponseBodyGracefully for improved error handling пре 10 месеци
  CaIon ae586e1be9 ✨ feat: add CloseResponseBodyGracefully function to handle HTTP response body closure пре 10 месеци
  CaIon 16997a695d refactor: token counter logic пре 10 месеци
  CaIon f970a03986 fix: xAI usage пре 1 година
  CaIon 60a9bd45c6 feat: add xAI handling and response processing пре 1 година