ai-gateway/web
moondie ee9e746520
feat: update ali stream implementation & enable internet search (#856)
* Update relay-ali.go: 改进stream模式,添加联网搜索能力

通义千问支持stream的增量模式,不需要每次去掉上次的前缀;实测qwen-max联网模式效果不错,添加了联网模式。如果别的模型有问题可以改为单独给qwen-max开放

* 删除"stream参数"

刚发现原来阿里api没有这个参数,上次误加了。

* refactor: only enable search when specified

* fix: remove custom suffix when get model ratio

---------

Co-authored-by: JustSong <songquanpeng@foxmail.com>
2023-12-24 16:17:21 +08:00
..
public chore: update description 2023-06-19 16:04:35 +08:00
src feat: update ali stream implementation & enable internet search (#856) 2023-12-24 16:17:21 +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