one-api/relay/util
Laisky.Cai 577ec90736 fix: Initialize transport object, set timeouts, and add IdleTimeout config
- Introduced idle connection timeout for HTTP client transport
- Implemented custom timeout for HTTP client when `RelayTimeout` is 0
- Set ImpatientHTTPClient timeout to 5 seconds
- Added new config variable `IdleTimeout` with default value of 30 seconds
- Utilized shared transport object for all HTTP clients in relay/util package
2024-03-08 12:58:05 +00:00
..
billing.go chore: update module name 2024-01-28 19:38:58 +08:00
common.go fix: Improve quota consumption and logging in relay controller 2024-03-08 03:22:29 +00:00
init.go fix: Initialize transport object, set timeouts, and add IdleTimeout config 2024-03-08 12:58:05 +00:00
model_mapping.go refactor: refactor relay part (#957) 2024-01-21 23:21:42 +08:00
relay_meta.go fix: Switch to channel-ratio 2024-03-01 13:49:23 +00:00
validation.go refactor: use adaptor to do relay & test 2024-02-18 00:15:31 +08:00