Skip to content

Commit 1f18f1b

Browse files
barthcclaygriffiths
authored andcommitted
Added support for gpt-4o-mini chat completions model.
1 parent b2613b6 commit 1f18f1b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

class-gwiz-gf-openai.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,9 @@ public function get_openai_models() {
267267
'gpt-4-turbo' => array(
268268
'description' => __( 'OpenAI\'s previous high-intelligence model. Context length: 128k. <a href="https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4" target="_blank">More Details</a>', 'gravityforms-openai' ),
269269
),
270+
'gpt-4o-mini' => array(
271+
'description' => __( 'OpenAI\'s most cost-efficient small model. Context length: 128k. <a href="https://platform.openai.com/docs/models/gpt-4o-mini" target="_blank">More Details</a>', 'gravityforms-openai' ),
272+
),
270273
'gpt-3.5-turbo' => array(
271274
'description' => __( 'Inexpensive model for simple tasks. Context length: 16k. <a href="https://platform.openai.com/docs/models/gpt-3-5-turbo" target="_blank">More Details</a>', 'gravityforms-openai' ),
272275
),

0 commit comments

Comments
 (0)