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

最新版本使用vercel部署,没有设置DISABLE_GPT4 不能选择gpt4呢,只能选择GPT3模型 #2261

Closed
luxlzz6 opened this issue Jul 5, 2023 · 9 comments

Comments

@luxlzz6
Copy link

luxlzz6 commented Jul 5, 2023

No description provided.

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: The latest version is deployed with vercel, and DISABLE_GPT4 is not set. You can’t choose gpt4, you can only choose GPT3 model

@Yidadaa
Copy link
Collaborator

Yidadaa commented Jul 5, 2023

你有 gpt-4 权限吗?现在会默认从 api key 中拉取可用模型,如果你的 key 没有 gpt4 权限,就用不了 gpt4

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Do you have gpt-4 permissions? Now the available models will be pulled from the api key by default. If your key does not have gpt4 permissions, you will not be able to use gpt4

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I use a third-party proxy service here, request v1/models interface 301, CORS error cannot get the model list, in this case, is it better to have a manual release method?

@hjt1997
Copy link

hjt1997 commented Jul 5, 2023

我也遇到了这个问题,我是中转4.0的第三方key,用不了4.0现在

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I also encountered this problem. I am a third-party key for transit 4.0, and I can’t use 4.0 now.

@Yidadaa
Copy link
Collaborator

Yidadaa commented Jul 5, 2023

我今晚修复一下,耐心等待

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I'll fix it tonight, be patient

@Yidadaa Yidadaa closed this as completed in 3863cfe Jul 5, 2023
Yidadaa added a commit that referenced this issue Jul 5, 2023
fix: #2252 polyfill composing for old safari browsers & fix #2261
miaou999 added a commit to miaou999/ChatGPT-Next-Web that referenced this issue Jul 7, 2023
* Add files for Norwegian translation

* Update no.ts with const no: LocaleType

* feat: Add frequency_penalty request parameter

* fix date time bug

* add new models

* fix: remove slection range when user blured

* chore: translate comment to english

* feat: close ChatGPTNextWeb#1960 add gpt-3.5-turbo-16k-0613

* feat: new token count function

* fix: ChatGPTNextWeb#1931 try to fix cors issues

* fix: ChatGPTNextWeb#1954 lazy render bugs

* feat: add app dev mode

* feat: add app logo and
release workflow

* feat: update app release workflow

* fix: updating the array using push in zustand does not actually trigger component updates

* fix: updating the array using push in zustand does not actually trigger component updates

* fixup: tauri app name

* Update chat.ts

* fix: ChatGPTNextWeb#1982 should not fullscreen on standlone build

* feat: enable drag area for tauri apps

* feat: try to add auto updater

* fixup: add TAURI_KEY_PASSWORD secrets

* Update tauri.conf.json

* Update README.md

* Resolves found vuln CVE-2023-2251

* yarn.lock also required for CVE-2023-2251 🙃

* Create dependabot.yml

* chore(deps): bump mermaid from 10.1.0 to 10.2.3

Bumps [mermaid](https://github.com/mermaid-js/mermaid) from 10.1.0 to 10.2.3.
- [Release notes](https://github.com/mermaid-js/mermaid/releases)
- [Changelog](https://github.com/mermaid-js/mermaid/blob/develop/CHANGELOG.md)
- [Commits](mermaid-js/mermaid@v10.1.0...v10.2.3)

---
updated-dependencies:
- dependency-name: mermaid
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump use-debounce from 9.0.3 to 9.0.4

Bumps [use-debounce](https://github.com/xnimorz/use-debounce) from 9.0.3 to 9.0.4.
- [Release notes](https://github.com/xnimorz/use-debounce/releases)
- [Changelog](https://github.com/xnimorz/use-debounce/blob/master/CHANGELOG.md)
- [Commits](xnimorz/use-debounce@9.0.3...9.0.4)

---
updated-dependencies:
- dependency-name: use-debounce
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps-dev): bump @types/node from 18.15.11 to 20.3.1

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.15.11 to 20.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump react-markdown from 8.0.6 to 8.0.7

Bumps [react-markdown](https://github.com/remarkjs/react-markdown) from 8.0.6 to 8.0.7.
- [Release notes](https://github.com/remarkjs/react-markdown/releases)
- [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md)
- [Commits](remarkjs/react-markdown@8.0.6...8.0.7)

---
updated-dependencies:
- dependency-name: react-markdown
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix Japanese language file

* Remove deprecated keys

* feat: add nynorsk option

* fix: ChatGPTNextWeb#1771 should not lose chat context when sumindex > n - count

* Create issue-translator.yml

* Update issue-translator.yml

* 聊天记录导出格式为image时预览聊天信息项使用设置的语言  chat information items using the language in the settings when exporting chat records in image format

* chore(deps): bump zustand from 4.3.6 to 4.3.8

Bumps [zustand](https://github.com/pmndrs/zustand) from 4.3.6 to 4.3.8.
- [Release notes](https://github.com/pmndrs/zustand/releases)
- [Commits](pmndrs/zustand@v4.3.6...v4.3.8)

---
updated-dependencies:
- dependency-name: zustand
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump next from 13.4.3 to 13.4.6

Bumps [next](https://github.com/vercel/next.js) from 13.4.3 to 13.4.6.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](vercel/next.js@v13.4.3...v13.4.6)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps-dev): bump lint-staged from 13.2.0 to 13.2.2

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.2.0 to 13.2.2.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v13.2.0...v13.2.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps-dev): bump @types/react from 18.0.31 to 18.2.12

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.31 to 18.2.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: ChatGPTNextWeb#2055 should render mermaid completely

* fix: ChatGPTNextWeb#2061 RequestInit TypeError

* restore last window state (position and size) on startup

* Update tauri.conf.json

* fix: migrate modelConfig state

* chore(deps): bump openssl from 0.10.52 to 0.10.55 in /src-tauri

Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.52 to 0.10.55.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](sfackler/rust-openssl@openssl-v0.10.52...openssl-v0.10.55)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* add explanation and link to FAQ

* Update README.md

* feat: close ChatGPTNextWeb#2025 just use a smaller to-bottom threshold

* fix: ChatGPTNextWeb#2087 chat box font size use global config

* feat: #close 1789 add user input template

* fixup

* doc: ChatGPTNextWeb#695 how to use a proxy with password in docker

* fix: ChatGPTNextWeb#2111 make "Attached Messages Count" working

* Added support Arabic language

* Support left to right in language arabic

* Set markdown-body RTL for Arabic text

* refactor: 优化 useScrollToBottom

* Update constant.ts

* feat: right-click to copy message to user input

* feat: close ChatGPTNextWeb#2013 add switch model button to chat actions

* feat: close ChatGPTNextWeb#628 add chat commands

* fixup

* chore: delete chat button position

* feat: add "Hide_Balance_Query" environment variable

* fix: typo

* feat: new chat message actions style

* feat: close ChatGPTNextWeb#1615 pin messages to contextual prompts

* feat: align chat page title center on mobile screen

* Update tauri.conf.json

* Update window.scss

* Fix Pin Message: when userMessageIndex === 0, pinning a message was not possible.

* fix: input-range style

* fix: alignment of mobile settings page title.

* feat: ChatGPTNextWeb#2144 improve input template

* fix: ChatGPTNextWeb#2135 disable cmd + arrow to change session

* fix: ChatGPTNextWeb#2149 try to fix ChatAction style on ios mobile

* feat: improve message item buttons style

* feat: improve chat commands

* feat: [WIP] support webdav

* fix: ChatGPTNextWeb#2149 try to fix chat action button style

* fix: ChatGPTNextWeb#2149 try to fix chat action button style

* fixup: ChatGPTNextWeb#2149 chat action button style

* feat: close ChatGPTNextWeb#2175 use default api host if endpoint is empty

* feat: replace window.confirm with showConfirm

* feat: replace window.prompt with showPrompt

* feat: close ChatGPTNextWeb#1994 add clipboard write api

* feat: close ChatGPTNextWeb#2141 danger zone

* feat: close ChatGPTNextWeb#2136 click avatar to edit message

* Update ui-lib.module.scss

* Update chat.module.scss

* feat: allow to disable chunk building by setting DISABLE_CHUNK=1

* feat: close ChatGPTNextWeb#2187 improve chat actions ux

* feat: close ChatGPTNextWeb#2190 improve app auto updater

* fix: tauri auto updater url

* fixup

* fixup

* perf : 代码细节优化

大神, 学习代码过程中发现的一个小小的点,887行已定义`const isUser = message.role === "user";`,此处可直接用isUser

* Update chat.module.scss

* update japanese translate

* fix: ChatGPTNextWeb#2208 use global settings button dose not work

* fix: ChatGPTNextWeb#2195 correct macos icon size

* feat: close ChatGPTNextWeb#2194 add macos arm support

* fix: action ubuntu version

* feat: build universal app darwin bundle

* Revert "feat: build universal app darwin bundle"

This reverts commit d8b606d.

* chore(deps-dev): bump prettier from 2.8.7 to 2.8.8

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.7 to 2.8.8.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.7...2.8.8)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump rehype-katex from 6.0.2 to 6.0.3

Bumps [rehype-katex](https://github.com/remarkjs/remark-math) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/remarkjs/remark-math/releases)
- [Commits](https://github.com/remarkjs/remark-math/compare/rehype-katex@6.0.2...rehype-katex@6.0.3)

---
updated-dependencies:
- dependency-name: rehype-katex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump @hello-pangea/dnd from 16.2.0 to 16.3.0

Bumps [@hello-pangea/dnd](https://github.com/hello-pangea/dnd) from 16.2.0 to 16.3.0.
- [Release notes](https://github.com/hello-pangea/dnd/releases)
- [Changelog](https://github.com/hello-pangea/dnd/blob/main/CHANGELOG.md)
- [Commits](hello-pangea/dnd@v16.2.0...v16.3.0)

---
updated-dependencies:
- dependency-name: "@hello-pangea/dnd"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps-dev): bump @types/node from 20.3.1 to 20.3.3

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.3.1 to 20.3.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: ChatGPTNextWeb#2230 hide chat actions for context prompts

* fix: ChatGPTNextWeb#2221 user prompts in front of all prompts

* feat: add top p config

* fixup

* Update tauri.conf.json

* fix: temperature -> top_p

* refactor: improve modal ux

* feat: close ChatGPTNextWeb#2192 use /list/models to get model ids

* feat: add setting to hide builtin masks

* fix summarize don't send

* refactor: ChatGPTNextWeb#2256 hide builtin masks

* fix: ChatGPTNextWeb#2261 default enable gpt-4 models

* fix: ChatGPTNextWeb#2252 polyfill composing for old safari browsers

* feat: close ChatGPTNextWeb#1072 share mask as link

* feat: add max icon for modals

* feat: close ChatGPTNextWeb#2267 display a modal to export image

* Added support for Bangla language

* feat: improve svg viewer

* Added support for Bangla language

* Added support for Bangla language

* Added support for Bangla language

* Added support for Bangla language

* feat: close ChatGPTNextWeb#2266 use modal to switch model

* fixup

* fixup

* Update tauri.conf.json

* perf:  models接口返回数据的容错处理

* fix: selector z-index bug

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Per André Rønsen <perandre@gmail.com>
Co-authored-by: AngelLiang <pl01665077@163.com>
Co-authored-by: samelamin <hussam.elamin@gmail.com>
Co-authored-by: suhipek <suhipek@pm.me>
Co-authored-by: Yifei Zhang <yidadaa@qq.com>
Co-authored-by: Cesaryuan <Cesaryuan@qq.com>
Co-authored-by: Jiacheng Dong <43509711+Jiacheng787@users.noreply.github.com>
Co-authored-by: Joshua <7747985+yeenbean@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Taro Ishihara <taro.ishihara.mail@gmail.com>
Co-authored-by: Xavier Barbosa <xavier@frontkom.com>
Co-authored-by: zhuge <zhuge.ai@qq.com>
Co-authored-by: mushan0x0 <mushan0x0@gmail.com>
Co-authored-by: macvip <macvip@github.com>
Co-authored-by: PaRaD1SE98 <parad1se@prds98.com>
Co-authored-by: Tsung-Han Yu <14802181+johan456789@users.noreply.github.com>
Co-authored-by: Xiaocheng Song <songxcheng@outlook.com>
Co-authored-by: Zizwar <zizwar@gmail.com>
Co-authored-by: dingjunjie <dingjunjie@ypshengxian.com>
Co-authored-by: Constaline <Constaline@users.noreply.github.com>
Co-authored-by: quzard <1191890118@qq.com>
Co-authored-by: Yorun <547747006@qq.com>
Co-authored-by: 兀米 <76780744+YBY2020@users.noreply.github.com>
Co-authored-by: tdzz1102 <wasuremono127@gmail.com>
Co-authored-by: Marcus Schiesser <mail@marcusschiesser.de>
Co-authored-by: GH Action - Upstream Sync <action@github.com>
Co-authored-by: sunls233 <liuss.zy@outlook.com>
Co-authored-by: ki-ask <site@kiask.xyz>
Co-authored-by: guochao <463561248@qq.com>
JMcn pushed a commit to JMcn/ChatGPT-Next-Web that referenced this issue Jul 30, 2023
alchemist139 pushed a commit to alchemist139/ChatGPT-Next-Web that referenced this issue Sep 21, 2023
alchemist139 pushed a commit to alchemist139/ChatGPT-Next-Web that referenced this issue Sep 21, 2023
chenzeyu pushed a commit to neutronsg/ChatGPT-Next-Web that referenced this issue Nov 8, 2023
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this issue May 16, 2024
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this issue May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@Yidadaa @hjt1997 @luxlzz6 @Issues-translate-bot and others