Historique des commits

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