CaIon 906f797be5 refactor: replace json.Marshal with common.Marshal for consistency and error handling 9 months ago
..
channel 906f797be5 refactor: replace json.Marshal with common.Marshal for consistency and error handling 9 months ago
common 13d14dc8a8 Merge branch 'alpha' of github.com:iszcz/new-api into iszcz-alpha 9 months ago
common_handler 97ea8b6560 refactor: Introduce pre-consume quota and unify relay handlers 10 months ago
constant c06d9485c3 feat: add support for Midjourney relay mode based on path prefix 10 months ago
helper 906f797be5 refactor: replace json.Marshal with common.Marshal for consistency and error handling 9 months ago
audio_handler.go 1ee3d1cc50 feat: 修复重试后请求结构混乱,修复rerank端点无法使用 10 months ago
claude_handler.go 13301d8544 fix: enhance error handling for invalid request types in relay handlers 10 months ago
compatible_handler.go 1b8bcfb000 fix: update error types for upstream errors and JSON marshal failure 10 months ago
embedding_handler.go 13301d8544 fix: enhance error handling for invalid request types in relay handlers 10 months ago
gemini_handler.go 13301d8544 fix: enhance error handling for invalid request types in relay handlers 10 months ago
image_handler.go 781a708173 feat: support qwen-image-edit 10 months ago
mjproxy_handler.go f8f0ee1e3e feat: initialize channel metadata in mjproxy and relay processing 10 months ago
relay_adaptor.go 9682c46cc4 feat: implement moonshot adaptor for request handling and response processing 10 months ago
relay_task.go 3963863eb0 fix(relay): initialize TaskRelayInfo 9 months ago
rerank_handler.go 13301d8544 fix: enhance error handling for invalid request types in relay handlers 10 months ago
responses_handler.go 13301d8544 fix: enhance error handling for invalid request types in relay handlers 10 months ago
websocket.go c9e9a24e99 refactor: centralize logging and update resource initialization 10 months ago