mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-18 01:26:37 +08:00
- Added new dependencies: `github.com/fsnotify/fsnotify v1.4.9`, `github.com/go-playground/assert/v2 v2.2.0`, `github.com/nxadm/tail v1.4.8`, `github.com/onsi/ginkgo v1.16.5`, `github.com/onsi/gomega v1.18.1`, `golang.org/x/net v0.10.0`, `gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7` - Updated dependencies: `github.com/gin-gonic/gin` from v1.9.0 to v2.0.0, `golang.org/x/net` from v0.17.0 to v0.10.0 - Removed dependencies: `github.com/golang-jwt/jwt v3.2.2+incompatible`, `github.com/gorilla/websocket v1.5.1` - Updated Go version from `1.18` to `1.21` - Made various modifications and refactoring in the code: - Added new struct `VisionMessage` with fields `Role`, `Content`, and `Name` - Added constants for certain types - Added methods and error handling to handle different message types - Modified existing struct and methods to accommodate changes - Removed unused imports |
||
---|---|---|
.. | ||
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-aiproxy.go | ||
relay-ali.go | ||
relay-audio.go | ||
relay-baidu.go | ||
relay-claude.go | ||
relay-image.go | ||
relay-openai.go | ||
relay-palm.go | ||
relay-tencent.go | ||
relay-text.go | ||
relay-utils.go | ||
relay-xunfei.go | ||
relay-zhipu.go | ||
relay.go | ||
token.go | ||
user.go | ||
wechat.go |