forked from XiaoMo/ChatGPT-Next-Web
feat: now support gpt-4 model
This commit is contained in:
parent
e57bd51809
commit
b57663bf02
@ -49,22 +49,24 @@ export interface ChatConfig {
|
|||||||
|
|
||||||
export type ModelConfig = ChatConfig["modelConfig"];
|
export type ModelConfig = ChatConfig["modelConfig"];
|
||||||
|
|
||||||
|
const ENABLE_GPT4 = true;
|
||||||
|
|
||||||
export const ALL_MODELS = [
|
export const ALL_MODELS = [
|
||||||
{
|
{
|
||||||
name: "gpt-4",
|
name: "gpt-4",
|
||||||
available: false,
|
available: ENABLE_GPT4,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "gpt-4-0314",
|
name: "gpt-4-0314",
|
||||||
available: false,
|
available: ENABLE_GPT4,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "gpt-4-32k",
|
name: "gpt-4-32k",
|
||||||
available: false,
|
available: ENABLE_GPT4,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "gpt-4-32k-0314",
|
name: "gpt-4-32k-0314",
|
||||||
available: false,
|
available: ENABLE_GPT4,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "gpt-3.5-turbo",
|
name: "gpt-3.5-turbo",
|
||||||
|
Loading…
Reference in New Issue
Block a user