one-api/common
Laisky.Cai 8b477d896d feat: Refactor message handling and update dependencies
- Added required packages to go.mod: `github.com/Laisky/errors/v2 v2.0.1`, `github.com/stretchr/testify v1.8.3`, `github.com/davecgh/go-spew v1.1.1`, `github.com/pmezard/go-difflib v1.0.0`
- Increased the number of returned recordings to 100 in `relay-utils.go`
- Refactored and simplified code in `relay-aiproxy.go` for improved message retrieval and error handling
- Added new test file `relay_test.go` and various test cases for different message types
- Modified functions in `group.go` and `relay.go` for improved functionality
2023-11-17 03:24:55 +00:00
..
constants.go feat: able to set RELAY_TIMEOUT 2023-10-22 20:39:49 +08:00
crypto.go Initial commit 2023-04-22 20:39:27 +08:00
custom-event.go refactor: rename file to conform to standards 2023-05-13 15:43:55 +08:00
database.go fix: fix postgresql support (#606) 2023-10-22 18:38:29 +08:00
email.go fix: Remove InsecureSkipVerify option in TLS config for 2023-11-16 02:46:19 +00:00
embed-file-system.go Initial commit 2023-04-22 20:39:27 +08:00
gin.go feat: support group now (close #17, close #72, close #85, close #104, close #136) 2023-06-07 23:26:00 +08:00
group-ratio.go chore: format logs 2023-06-22 10:59:01 +08:00
init.go feat: Refactor message handling and update dependencies 2023-11-17 03:24:55 +00:00
logger.go feat: create new log file when too many logs recorded 2023-09-17 16:35:30 +08:00
model-ratio.go feat: sync pricing for new 1106 models (#696) 2023-11-10 21:08:23 +08:00
rate-limit.go Initial commit 2023-04-22 20:39:27 +08:00
redis.go fix: update cache immediately after cache get 2023-08-16 23:40:50 +08:00
utils.go fix: fix postgresql support (#606) 2023-10-22 18:38:29 +08:00
validate.go Initial commit 2023-04-22 20:39:27 +08:00
verification.go Initial commit 2023-04-22 20:39:27 +08:00