mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-18 01:26:37 +08:00
- Refactor error handling in `relay.go` using the `errors` package - Implement specific error handling for `specific_channel_id` in `shouldRetry` function - Add checks for various status codes (`StatusTooManyRequests`, `Status5xx`, `Status2xx`) in `Relay` function - Improve code quality by adding missing imports (`io`, `net/http`) in `relay.go` |
||
---|---|---|
.. | ||
billing.go | ||
channel-billing.go | ||
channel-test.go | ||
channel.go | ||
github.go | ||
group.go | ||
log.go | ||
misc.go | ||
model.go | ||
option.go | ||
redemption.go | ||
relay.go | ||
token.go | ||
user.go | ||
wechat.go |