配置上了支持GPT-4的openai api key,历史应用选择gpt-4 model时报错,新建立应用可以使用gpt-4 #365

Closed
opened 2026-02-21 17:26:56 -05:00 by yindo · 1 comment
Owner

Originally created by @MartinGuo on GitHub (Aug 12, 2023).

Originally assigned to: @zxhlyh on GitHub.

配置上了支持GPT-4的openai api key.
1.openai 的api key支持 gpt-4模型
2.dify的模型供应商已经配置上了对应的api key 并生效。
3.历史应用原来是用的gpt-3.5,再选择gpt-4 model时报错,新建立应用可以使用gpt-4。

The current behavior

历史应用重新选择model报错
image

模型已经配置上生效
image
新建立的应用可以使用GPT-4
image

The expected behavior

历史应用可以自由切换model

Originally created by @MartinGuo on GitHub (Aug 12, 2023). Originally assigned to: @zxhlyh on GitHub. 配置上了支持GPT-4的openai api key. 1.openai 的api key支持 gpt-4模型 2.dify的模型供应商已经配置上了对应的api key 并生效。 3.历史应用原来是用的gpt-3.5,再选择gpt-4 model时报错,新建立应用可以使用gpt-4。 ## The current behavior 历史应用重新选择model报错 ![image](https://github.com/langgenius/dify/assets/9604808/9be35d2f-415c-443f-a985-82df40e5630e) 模型已经配置上生效 ![image](https://github.com/langgenius/dify/assets/9604808/c8eb3fc1-d828-448b-a92e-da91392ac9db) 新建立的应用可以使用GPT-4 ![image](https://github.com/langgenius/dify/assets/9604808/a0beff61-b87c-4e5a-9a04-1f90465ef129) ## The expected behavior 历史应用可以自由切换model
yindo added the 🐞 bug label 2026-02-21 17:26:56 -05:00
yindo closed this issue 2026-02-21 17:26:56 -05:00
Author
Owner

@iamjoel commented on GitHub (Aug 12, 2023):

Fixed: https://github.com/langgenius/dify/pull/815

@iamjoel commented on GitHub (Aug 12, 2023): Fixed: https://github.com/langgenius/dify/pull/815
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#365