* fest: Add Google Gemini Pro, fix#810
* fest: Add tooling to Gemini; Add OpenAI-like system prompt to Gemini
* refactor: removing unused if statement
* fest: Add dummy model message for system message in gemini model
* chore: update implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
- Remove comment section from the Footer component in Footer.js
- Add environment variable `SHORT_SHA` to store the first 8 characters of the commit SHA in ci.yml file
- Remove the addition of `SHORT_SHA` to the `GITHUB_ENV` file in ci.yml file
- Update `COPY_OPTIONS` object in `TokensTable.js`
- Modify the `onCopy` function to use a different url variable
- Fix pagination logic in the `onPaginationChange` function
- Remove unnecessary code and comments in `TokensTable.js`
* Update sorting method for id
* Update sorting method for id (token)
* Update sorting method for id (redemptions)
* Update sorting method for id (channel)
* chore: use same logic for all tables
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
- Remove prefix "laisky-" from the variable "key" in [middleware/auth.go]
- Modify error message from "用户已被封禁" to "用户已被禁用" in [middleware/auth.go]
- Remove check for "consumeQuota" when request URL starts with "/v1/models" in [middleware/auth.go]
- Add ability for admin users to set "channelId" in context in [middleware/auth.go]
- Update URL and key for `ama` and `opencat` links, and key format for `url` in links in [web/src/components/TokensTable.js]
- Update URL for `nextUrl` in [web/src/components/TokensTable.js]
- Change variable names and improve search function for token names in [web/src/components/TokensTable.js]
- Add delete confirmation popup, copy and open link buttons, sorting functionality for column header, and loading state in [web/src/components/TokensTable.js]
- Update pagination to load more data in [web/src/components/TokensTable.js]
- Update rendering of token information, including quota and timestamp in [web/src/components/TokensTable.js]
* feat: add toggleable visibility for total quota using an eye icon
* chore: update implementation
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
* Token Adds Option to Quickly Copy AMA and OpenCat URL Scheme
* feat: add ChatGPT Next Web
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>