add gpt-5.1 in add model form
This commit is contained in:
parent
1b396b8c1f
commit
71abc5d845
2 changed files with 15 additions and 2 deletions
|
|
@ -1121,6 +1121,18 @@ export const models: { [key: string]: ModelPackage } = {
|
|||
icon: "openai.png",
|
||||
isOpenSource: false,
|
||||
},
|
||||
gpt5_1: {
|
||||
title: "GPT-5.1",
|
||||
description: "OpenAI's GPT-5.1 model for advanced reasoning and chat",
|
||||
params: {
|
||||
model: "gpt-5.1",
|
||||
contextLength: 400_000,
|
||||
title: "GPT-5.1",
|
||||
},
|
||||
providerOptions: ["openai"],
|
||||
icon: "openai.png",
|
||||
isOpenSource: false,
|
||||
},
|
||||
gpt5Codex: {
|
||||
title: "GPT-5 Codex",
|
||||
description:
|
||||
|
|
|
|||
|
|
@ -111,13 +111,14 @@ export const providers: Partial<Record<string, ProviderInfo>> = {
|
|||
openai: {
|
||||
title: "OpenAI",
|
||||
provider: "openai",
|
||||
description: "Use gpt-5, gpt-4, or any other OpenAI model",
|
||||
description: "Use gpt-5.1, gpt-5, gpt-4, or any other OpenAI model",
|
||||
longDescription:
|
||||
"Use gpt-5, gpt-4, or any other OpenAI model. See [here](https://openai.com/product#made-for-developers) to obtain an API key.",
|
||||
"Use gpt-5.1, gpt-5, gpt-4, or any other OpenAI model. See [here](https://openai.com/product#made-for-developers) to obtain an API key.",
|
||||
icon: "openai.png",
|
||||
tags: [ModelProviderTags.RequiresApiKey],
|
||||
packages: [
|
||||
models.gpt5,
|
||||
models.gpt5_1,
|
||||
models.gpt5Codex,
|
||||
models.gpt4o,
|
||||
models.gpt4omini,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue