-
Notifications
You must be signed in to change notification settings - Fork 988
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from mylxsw/develop
1. 服务端地址通过环境变量配置,编译时可以指定环境变量来为不同环境打包 2. 支付宝支付支持沙箱环境 3. 增加群聊功能,现在可以把多个大模型拉到一个群里,同时向它们进行提问了 4. 聊一聊页面的历史就来移动到单独的页面,首页只展示最近 3 条 5. 聊天记录支持以图片的形式进行分享 6. 聊天协议由 OpenAI 兼容的 SSE 转换为了 WebSocket,解决最新版 Chrome 浏览器无法使用问题 #36 7. 智慧果使用明细增加日维度的使用记录 8. 其它 Bugfix,如 #37 等
- Loading branch information
Showing
145 changed files
with
6,785 additions
and
3,685 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM nginx:1.25 | ||
|
||
COPY build/web/ /data/webroot | ||
COPY nginx.conf /etc/nginx/conf.d/default.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
VERSION=1.0.6 | ||
VERSION_DATE=202310091100 | ||
|
||
rm -fr build/web | ||
|
||
flutter build web --web-renderer canvaskit --release --dart-define=API_SERVER_URL=/ | ||
cd scripts && go run main.go ../build/web/main.dart.js && cd .. | ||
rm -fr build/web/fonts/ && mkdir build/web/fonts | ||
cp -r scripts/s build/web/fonts/s | ||
|
||
docker build -t mylxsw/aidea-web:$VERSION . | ||
docker tag mylxsw/aidea-web:$VERSION mylxsw/aidea-web:$VERSION_DATE | ||
docker tag mylxsw/aidea-web:$VERSION mylxsw/aidea-web:latest | ||
|
||
docker push mylxsw/aidea-web:$VERSION | ||
docker push mylxsw/aidea-web:$VERSION_DATE | ||
docker push mylxsw/aidea-web:latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.