File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
src/platform/src/Bridge/OpenAi Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ class Gpt extends Model
35
35
public const GPT_41 = 'gpt-4.1 ' ;
36
36
public const GPT_41_MINI = 'gpt-4.1-mini ' ;
37
37
public const GPT_41_NANO = 'gpt-4.1-nano ' ;
38
+ public const GPT_5 = 'gpt-5 ' ;
39
+ public const GPT_5_CHAT = 'gpt-5-chat-latest ' ;
40
+ public const GPT_5_MINI = 'gpt-5-mini ' ;
41
+ public const GPT_5_NANO = 'gpt-5-nano ' ;
38
42
39
43
private const IMAGE_SUPPORTING = [
40
44
self ::GPT_4_TURBO ,
@@ -47,6 +51,10 @@ class Gpt extends Model
47
51
self ::GPT_41 ,
48
52
self ::GPT_41_MINI ,
49
53
self ::GPT_41_NANO ,
54
+ self ::GPT_5 ,
55
+ self ::GPT_5_MINI ,
56
+ self ::GPT_5_NANO ,
57
+ self ::GPT_5_CHAT ,
50
58
];
51
59
52
60
private const STRUCTURED_OUTPUT_SUPPORTING = [
@@ -57,6 +65,9 @@ class Gpt extends Model
57
65
self ::GPT_41 ,
58
66
self ::GPT_41_MINI ,
59
67
self ::GPT_41_NANO ,
68
+ self ::GPT_5 ,
69
+ self ::GPT_5_MINI ,
70
+ self ::GPT_5_NANO ,
60
71
];
61
72
62
73
/**
You can’t perform that action at this time.
0 commit comments