Skip to content

Commit 513147e

Browse files
authored
Add gpt-5 models to the list (#409)
1 parent 4242593 commit 513147e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shell/agents/AIShell.OpenAI.Agent/ModelInfo.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ static ModelInfo()
2525
["o1"] = new(tokenLimit: 200_000, encoding: Gpt4oEncoding, reasoning: true),
2626
["o3"] = new(tokenLimit: 200_000, encoding: Gpt4oEncoding, reasoning: true),
2727
["o4-mini"] = new(tokenLimit: 200_000, encoding: Gpt4oEncoding, reasoning: true),
28+
["gpt-5"] = new(tokenLimit: 400_000, encoding: Gpt4oEncoding, reasoning: true),
2829
["gpt-4.1"] = new(tokenLimit: 1_047_576, encoding: Gpt4oEncoding),
2930
["gpt-4o"] = new(tokenLimit: 128_000, encoding: Gpt4oEncoding),
3031
["gpt-4"] = new(tokenLimit: 8_192),

0 commit comments

Comments
 (0)