Commit Graph

32 Commits

Author SHA1 Message Date
Peter Dave Hello e1a3308355
chore: replace EOL Node.js v19 w/ LTS v20 in engine spec (#2080)
Update the Node.js engine setting in service/package.json to use LTS v20
instead of the end-of-life v19. This aligns with our Dockerfile that
uses node:lts-alpine, which has been a while without issues. The update
also helps suppress the runtime warnings about engine compatibility:

> WARN  Unsupported engine: wanted: {"node":"^16 || ^18 || ^19"} (current: {"node":"v20.12.2","pnpm":"9.0.4"})
2024-05-16 09:40:06 +08:00
L fa8874b6dd
update esno to fix tsx issue on Node v18.19 (#2083) 2024-05-16 09:39:33 +08:00
ChenZhaoYu abc4c3ad22 chore: 回退 chatgpt 包版本,原因:token 长回复报错 2023-04-03 16:19:38 +08:00
ChenZhaoYu 4e4e41b0d6 chore: update deps 2023-04-03 08:51:04 +08:00
Kid 57a1d6e3cd
fix: ESM error (#826) 2023-03-23 20:43:47 +08:00
ChenZhaoYu bf48eae9fe feat: 更新依赖并兼容已存在的代理 2023-03-22 18:23:31 +08:00
xiaozhu e02ab1fbad
feat: 新增限流功能 (#718)
* 请求速率限制

* perf: 优化代码

---------

Co-authored-by: ChenZhaoYu <790348264@qq.com>
2023-03-21 09:20:27 +08:00
ChenZhaoYu 95ce026813 fix: 回退 chatgpt 版本导致的代理失效 2023-03-17 11:37:33 +08:00
ChenZhaoYu c5552893d7 chore: update deps and lint fix 2023-03-17 09:25:16 +08:00
pzcn e46d3685a0
feat: show api balance (#582)
* feat: show api balance

* Update index.ts

* 保留小数点后五位

* perf: 判断优化

---------

Co-authored-by: Redon <790348264@qq.com>
2023-03-17 09:21:25 +08:00
ChenZhaoYu f4be5b985a chore: update deps 2023-03-12 21:10:40 +08:00
Eason bc5e835f78
feat: support linux command line proxy standard (#308)
* feat: support linux command line proxy standard with env HTTPS_PROXY and ALL_PROXY

* chore: update docs for linux command linux proxy standard
2023-03-12 19:38:59 +08:00
Yige 86d720ecee
fix: cors in auth_secret_key model (#499) 2023-03-12 18:47:44 +08:00
ChenZhaoYu 133a24e25f chore: update chatgpt 2023-03-10 13:11:36 +08:00
Redon ffd4da91cf
chore: version 2.10.0
* feat: 权限验证功能

* chore: v2.10.0

* feat: 500 服务异常页面

* feat: 只有结束才会滚动到底部

* chore: 修改 CHANGELOG

* chore: 不存在时输出默认报错
2023-03-07 22:12:15 +08:00
ChenZhaoYu 50e672e79b fix: 调整部分问题 2023-03-06 20:34:29 +08:00
Redon 0fdf75eba0
chore: version 2.9.2 (#261)
* feat: 添加  OPENAI_API_BASE_URL 可选参数[#249]

* fix: 生成的代码块不能复制的问题[#251][#260]

* perf: 限制高分屏上的宽度[#257]

* perf: 文字按单词换行[#215][#225]

* perf: highlight.js 新语法警告

* fix: 移动端输入框不会被键盘弹起[#256]

* chore: 更新文档

* chore: version 2.9.2
2023-03-04 09:34:28 +08:00
Redon f19998d59b
feat: version 2.9.1 (#207)
* feat: i18n

* chore: format

* feat: 补充遗漏翻译

* chore: update deps

* feat: 复制代码块[#196][#197]

* chore: version 2.9.1
2023-03-02 21:27:20 +08:00
Redon 32ebbec8ad
feat: 增加带格式的复制 (#182)
* feat: 增加带格式的复制

* feat: 移除前端超时设定

* chore: update deps

* feat: 添加权限页面

* feat: 设定页面优化

* feat: 更新 chatgpt 以支持 `gpt-3.5-turbo-0301`

* chore: version 2.9.0
2023-03-02 12:59:20 +08:00
puppywang 628187f5c3
feat: add proxy support and fix streaming mode (#122) 2023-02-25 17:13:19 +08:00
Redon 09359c3c46
feat: 流式输出内容 (#93)
* feat: 流式输出内容

* fix: 修复异常状态

* feat: markdown 链接颜色
2023-02-22 23:03:20 +08:00
Redon f40048fb08
feat: 支持 accessToken 请求 web api 调用 (#80)
* feat: 支持 markdown 格式和图片

* perf: 重载的时候滚动条保持

* chore: version 2.5.2

* feat: 添加文字换行

* chore: 添加新封面

* chore: 更新 cover

* feat: 支持 web api 的形式

* feat: 支持新模型和调整超时

* feat: 添加反向代理

* chore: 更新 README.md

* feat: 添加超时和反向代理显示

* chore: version 2.6.0

* chore: update README
2023-02-21 15:26:23 +08:00
Redon fda6c6bb6a
chore: v2.5.0 整体优化 (#70)
* feat: locale language

* refactor: 页面暂存

* feat: 逻辑判断

* feat: 分组消息

* feat: 实验场

* feat: 重新请求结果

* feat: 基础问答逻辑和重新询问

* feat: 上下文消息删除确认

* feat: 处理类型报错

* chore: 更新 deps 和移除 i18n

* feat: 路由页面切换终止请求

* feat: let me think

* feat: 信息更新代码高亮匹配

* feat: 加载时添加光标

* feat: 错误提示

* feat: 历史记录删除确认

* fix: 侧边栏高度不正确的问题

* chore: version 2.5.0

* chore: update deps
2023-02-20 14:10:51 +08:00
ChenZhaoYu ee542a01f7 chore: eslint 依赖报错 2023-02-16 14:03:40 +08:00
ChenZhaoYu 63f4d7d77c chore: update deps 2023-02-16 12:29:47 +08:00
wang ha ha bbd8ff773b
添加 docker 镜像打包部署脚本 (#27)
* 删除env

* 修改生产依赖安装缺失。

* 添加docker镜像构建

* no message

* 修改超时时间。

* 修复镜像构建错误。

* 修改环境变量获取baseapi

* 修改前端链接获取位置。

* 删除默认env

* 添加会 .env 文件,但是注释掉。

* 使用默认 api。

* 添加前端调试和部署路由兼容。

* 删除key

* Update .env

* Delete build_docker.yml

暂时不做 `git hooks` 处理

* Delete .gitignore

* Delete Dockerfile

工作路径好像有点错误,先不合并

* Delete build.sh

工作路径好像有点错误,先不合并

---------

Co-authored-by: 王金海(haha.wang) <wanghaha@huolala.cn>
Co-authored-by: haha.wang <haha.wang@huolala.cn>
Co-authored-by: Redon <790348264@qq.com>
2023-02-16 11:58:29 +08:00
ChenZhaoYu f73aa5f9e1 perf: 优化部份内容 2023-02-15 14:10:43 +08:00
Yut c617205a8c
feat: #响应式 (#22)
* feat: #响应式

* fix: #兼容node 16

* feat: #接口代理

* fix: #延长超时时长到30秒

* fix: #for node 16

* fix: #node 16

* Update settings.json

* Update package.json

* Update index.vue

* Update Layout.vue

---------

Co-authored-by: Redon <790348264@qq.com>
2023-02-15 14:01:42 +08:00
ChenZhaoYu 5d1f8519c2 chore: typo description 2023-02-14 08:45:07 +08:00
ChenZhaoYu cd03a71ef1 chore: update deps 2023-02-13 21:02:25 +08:00
ChenZhaoYu 3debaec4b2 chore: 添加 service 打包编译设置 2023-02-13 20:10:08 +08:00
ChenZhaoYu f910b5f8a4 chore: 调整文件结构 service 和 web 分离 2023-02-13 10:00:08 +08:00