ai-gateway/controller
igophper af20063a8d
feat: able to refresh baidu access token automatically (#400, close #401)
* feat:baidu channel support apiKey and secretKey

添加百度文心渠道时支持填写secretKey|apiKey或者accessToken,支持自动刷新accessToken

* fix

* fix

* fix

* chore: update implementation

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2023-08-12 23:41:44 +08:00
..
billing.go feat: add access_until field for subscription api (#295) 2023-07-23 13:49:09 +08:00
channel-billing.go perf: reuse http client to reduce delay 2023-07-23 15:18:58 +08:00
channel-test.go fix: prompt user that channel test is unavailable 2023-07-29 23:54:09 +08:00
channel.go chore: make channel test related code separated 2023-05-23 10:01:09 +08:00
github.go feat: support aff now (close #75) 2023-06-17 18:12:58 +08:00
group.go feat: able to set group ratio now (close #62, close #142) 2023-06-11 11:08:16 +08:00
log.go feat: able to query token with admin user 2023-06-24 19:13:33 +08:00
misc.go feat: support email domain whitelist (#337) 2023-07-30 12:44:41 +08:00
model.go feat: support xunfei's llm (close #206) 2023-07-29 21:55:57 +08:00
option.go feat: support email domain whitelist (#337) 2023-07-30 12:44:41 +08:00
redemption.go feat: now user can top up via redemption code (close #9) 2023-04-26 17:02:26 +08:00
relay-ali.go refactor: add set event stream headers func (#402) 2023-08-12 21:55:18 +08:00
relay-baidu.go feat: able to refresh baidu access token automatically (#400, close #401) 2023-08-12 23:41:44 +08:00
relay-claude.go refactor: add set event stream headers func (#402) 2023-08-12 21:55:18 +08:00
relay-image.go perf: reuse http client to reduce delay 2023-07-23 15:18:58 +08:00
relay-openai.go refactor: add set event stream headers func (#402) 2023-08-12 21:55:18 +08:00
relay-palm.go refactor: add set event stream headers func (#402) 2023-08-12 21:55:18 +08:00
relay-text.go feat: able to refresh baidu access token automatically (#400, close #401) 2023-08-12 23:41:44 +08:00
relay-utils.go refactor: add set event stream headers func (#402) 2023-08-12 21:55:18 +08:00
relay-xunfei.go refactor: add set event stream headers func (#402) 2023-08-12 21:55:18 +08:00
relay-zhipu.go refactor: add set event stream headers func (#402) 2023-08-12 21:55:18 +08:00
relay.go chore: resolve conflicts 2023-08-12 11:08:52 +08:00
token.go fix: fix token name too long 2023-08-12 16:58:29 +08:00
user.go feat: able to delete account by self (#294) 2023-07-23 13:37:32 +08:00
wechat.go feat: support aff now (close #75) 2023-06-17 18:12:58 +08:00