ai-gateway/web
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
..
public chore: update description 2023-06-19 16:04:35 +08:00
src feat: able to refresh baidu access token automatically (#400, close #401) 2023-08-12 23:41:44 +08:00
.gitignore Initial commit 2023-04-22 20:39:27 +08:00
package.json Initial commit 2023-04-22 20:39:27 +08:00
README.md Initial commit 2023-04-22 20:39:27 +08:00
vercel.json Initial commit 2023-04-22 20:39:27 +08:00

React Template

Basic Usages

# Runs the app in the development mode
npm start

# Builds the app for production to the `build` folder
npm run build

If you want to change the default server, please set REACT_APP_SERVER environment variables before build, for example: REACT_APP_SERVER=http://your.domain.com.

Before you start editing, make sure your Actions on Save options have Optimize imports & Run Prettier enabled.

Reference

  1. https://github.com/OIerDb-ng/OIerDb
  2. https://github.com/cornflourblue/react-hooks-redux-registration-login-example