Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from Chanzhaoyu:main #6

Open
wants to merge 121 commits into
base: main
Choose a base branch
from
Open

[pull] main from Chanzhaoyu:main #6

wants to merge 121 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 21, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

yilozt and others added 2 commits March 21, 2023 08:44
* feat: 添加显示用于原文的选项

* chore: 修复暗色主题下文本颜色问题

给输入和输出气泡添加了 css 类,用来处理在暗色主题下聊天气泡的文本颜色

* feat: 用户输入不应该被渲染,防止 xss

---------

Co-authored-by: ChenZhaoYu <[email protected]>
* 请求速率限制

* perf: 优化代码

---------

Co-authored-by: ChenZhaoYu <[email protected]>
@vercel
Copy link

vercel bot commented Mar 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chatgpt-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 26, 2023 3:08am

* add systemMessage

* perf: 优化代码和类型

* perf: 补全翻译和为以后做准备

---------

Co-authored-by: ChenZhaoYu <[email protected]>
* chore: 重置回答时滚动定位至该回答

* perf: format code

---------

Co-authored-by: ChenZhaoYu <[email protected]>
* fix: 用GPT-4 API时增加max token

* style: eslint fix

---------

Co-authored-by: Redon <[email protected]>
在windows下也可以运行
* fix line end with new-line in some backend

In backend with golang (like https://github.com/sashabaranov/go-openai), the responseText always has '\n'.

* feat: 补全遗漏

---------

Co-authored-by: ChenZhaoYu <[email protected]>
* feat: 增加 ChatGPTUnofficialProxyAPI 的模型自定义配置(#618)

* perf: 修改判断

---------

Co-authored-by: ChenZhaoYu <[email protected]>
yilozt and others added 2 commits March 22, 2023 19:42
* feat: 修改 scrollToBottom 行为(当滚动条在底部或发送问题时才会进入自动滚动,滚轮向上滚动会中止自动滚动,方便复制和查看之前的代码; 切换 history 时自动聚焦输入框,方便直接输入文字,不用再次去点击输入框;)

* chore: 通过eslint检查

* perf: 清理重复功能

---------

Co-authored-by: Redon <[email protected]>
trongtindev and others added 30 commits June 26, 2023 18:16
* 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 <[email protected]>
* 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 <[email protected]>
This includes the latest:
- gpt-4-0125-preview
- gpt-4-turbo-preview

Reference:
- https://openai.com/blog/new-embedding-models-and-api-updates
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"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.