Commit Graph

401 Commits

Author SHA1 Message Date
Peter Dave Hello 7474b2c149
Add GPT-4o mini support (#2102)
Reference:
- https://platform.openai.com/docs/models/gpt-4o-mini
- https://openai.com/index/gpt-4o-mini-advancing-cost-efficient-intelligence/
2024-07-19 11:07:35 +08:00
ChenZhoYu 574aac2ff1 perf: 数学公式 $$ 处理 2024-06-07 10:18:56 +08:00
ChenZhoYu a546d856d7 feat: markdown mermaid 2024-06-07 10:14:34 +08:00
ChenZhoYu e3ce91cfa1 fix: model error 2024-05-17 23:56:45 +08:00
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
Peter Dave Hello f257a54604
feat: add GPT-4o support (#2082)
Reference:
- https://platform.openai.com/docs/models/gpt-4o
- https://openai.com/index/hello-gpt-4o/
2024-05-16 09:39:49 +08:00
L fa8874b6dd
update esno to fix tsx issue on Node v18.19 (#2083) 2024-05-16 09:39:33 +08:00
ChenZhoYu ab9dca471d perf: change katex package 2024-05-16 09:38:50 +08:00
ChenZhoYu a4103769ce perf: html2canvas => html-to-image 2024-04-19 10:30:10 +08:00
Peter Dave Hello f4f1d351b7
Add GPT-4 Turbo API the latest GA version (#2072)
Reference:
- https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo
2024-04-16 14:59:51 +08:00
Peter Dave Hello 8dd447ce69
feat: improve GPT-3.5 Turbo 16k support (#2049)
Reference:
- https://platform.openai.com/docs/models/gpt-3-5-turbo
2024-03-11 13:02:19 +08:00
ChenZhoYu 6432efeb35 chore: doc 2024-03-11 12:00:53 +08:00
Lukin c520580cda
fix(server): compatible with gateway.ai.cloudflare.com (#2029) 2024-03-06 13:17:10 +08:00
Peter Dave Hello 15903fae38
feat: support the latest GPT-4 Turbo preview models (#2024)
This includes the latest:
- gpt-4-0125-preview
- gpt-4-turbo-preview

Reference:
- https://openai.com/blog/new-embedding-models-and-api-updates
2024-02-01 08:25:50 +08:00
zf 05e1df5332
fix: SvgIcon打包报类型错误 (#2012) 2024-01-10 19:38:20 +08:00
Ed Burnette 60f1f71d27
Added es-ES (#1989)
* Additional English translations
Provide an English version of the readme, and add a few translations
that were missing elsewhere

* Use browser language by default

* Support 'en' and 'vi' as languages

* Fixed: Browserslist: caniuse-lite is outdated.
Full message was:
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme

* Added es-ES
These changes were originally from https://github.com/rasta26/chatgpt-web
although I did tweak the translations a bit.

---------

Co-authored-by: Ed Burnette <ed.burnette@hiddenmind.ai>
2023-12-07 00:23:52 -06:00
Ed Burnette 15a6b19897
localization: Add additional English translations (#1987)
* Additional English translations
Provide an English version of the readme, and add a few translations
that were missing elsewhere

* Use browser language by default

* Support 'en' and 'vi' as languages

---------

Co-authored-by: Ed Burnette <ed.burnette@hiddenmind.ai>
2023-12-03 04:27:38 -06:00
Peter Dave Hello ed1e41c4f1
feat: support the latest GPT-4 Turbo (gpt-4-1106-preview) model (#1968)
Reference:
- https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo
- https://openai.com/blog/new-models-and-developer-products-announced-at-devday#gpt-4-turbo-with-128k-context
2023-11-23 21:58:37 -06:00
ChenZhaoYu a6605e8a57 chore: v2.11.1 2023-10-11 16:17:19 +08:00
ChenZhaoYu 3482565481 chore: doc 2023-10-07 08:33:01 +08:00
ChenZhaoYu a6f670101a fix: 不规范的引入 2023-09-26 11:53:18 +08:00
ChenZhaoYu 2683977e21 chore: 2.11.1 2023-09-26 11:52:38 +08:00
ChenZhaoYu e1d8f5ff56 feat: 清空聊天历史 2023-09-26 11:50:38 +08:00
ChenZhaoYu 4f9232c130 chore: 格式化代码 2023-09-26 11:39:28 +08:00
ChenZhaoYu c226d07368 fix: 修复打字机动画 2023-09-26 11:38:58 +08:00
Carson Yang 2b2efe2f15
Update README.md (#1864) 2023-08-09 11:45:11 +08:00
march c2ce7009e6
fix: store循环引用 (#1880) 2023-08-09 11:43:57 +08:00
Peter Dave Hello b651ef8373
chore: Improve zh-TW locale (#1837) 2023-07-15 11:19:45 +08:00
shansing b8f2a0e849
feat: 允许temperature调到2 (#1797)
ref: https://platform.openai.com/docs/api-reference/chat/create#chat/create-temperature
2023-06-26 18:17:11 +08:00
Tin Nguyen Trong c6e1663a39
Create vi-VN.ts (#1798) 2023-06-26 18:16:47 +08:00
怀瑾 847a2d4d8c
style: 优化移动端代码展示 (#1752) 2023-06-19 14:28:10 +08:00
BertramRay 6e272bb343
feat: 支持最新的gpt-3.5-turbo-16k模型 (#1789)
* fix: 增加 16k 模型支持

* fix: 修改判断逻辑

* fix: 修改 gpt-3.5-turbo tokens 判断逻辑

---------

Co-authored-by: ziyang <ziyang@dora.design>
2023-06-19 14:26:22 +08:00
舜岳 bc390ef09d
feat: "Stop Responding" 国际化,使用 chatgpt 翻译 (#1735) 2023-05-31 14:05:53 +08:00
tranhungonline 1cb5393b91
fix: 移动端新建会话关闭侧边栏 (#1661)
Co-authored-by: ChenZhaoYu <790348264@qq.com>
2023-05-06 10:58:06 +08:00
ChenZhaoYu 0f51e51827 fix: 移动端塌缩 2023-05-04 11:19:25 +08:00
ChenZhaoYu 3dff5bd4c8 chore: version 2.11.0 2023-04-26 11:07:37 +08:00
ChenZhaoYu dbb57d8894 perf: 优化复制逻辑 2023-04-26 08:27:46 +08:00
ChenZhaoYu 3b033d0ed4 feat: 补充语言列表 2023-04-26 08:26:50 +08:00
ChenZhaoYu dd20e9aea6 chore: 移除无用文件 2023-04-26 08:18:19 +08:00
aquaratixc 838679f837
chore: Update index.ts (#1570)
* Update index.ts

Added russian translation

* fix: locale name

---------

Co-authored-by: Redon <790348264@qq.com>
2023-04-24 20:15:28 +08:00
夜法之书(appotry) 89f78bd4c7
添加nginx防止爬虫爬取配置 (#1187)
* 添加nginx防止爬虫爬取配置

* Update nginx.conf

* Update README.md
2023-04-24 20:08:30 +08:00
24min d598dc65ce
fix(proxy url): change default proxy url (#1567) 2023-04-24 20:07:46 +08:00
aquaratixc ac8b69dfd4
Create ru-RU.ts (#1571)
Added russian localization
2023-04-24 20:05:41 +08:00
wanglong001 226ce2bded
[fix] markdown 表格内没有换行 (#1492) 2023-04-17 21:10:36 +08:00
Peter Dave Hello 7583985f44
chore: Improve zh-TW locale (#1460) 2023-04-16 15:18:53 +08:00
Peter Dave Hello 537872968c
Let's make GitHub happy (#1453) 2023-04-15 16:35:33 +08:00
Kamilake eed33fbb0e
feat: Added Korean translation (#1372)
* add ko-KR

* oops

* type-check & delete unused comments
2023-04-12 09:34:36 +08:00
idawnwon da04383772
fix: default return in `useLanguange()` hook (#1352)
if `setLocale('zh-CN')`, `return` should be `zhCN`, not `enUS`.
2023-04-10 21:29:03 +08:00
ChenZhaoYu 527c8613b2 chore: mark days 2023-04-10 15:51:19 +08:00
ChenZhaoYu 05a241408e fix: conversationOptions 2023-04-10 08:24:16 +08:00