Skip to content

Commit

Permalink
Add o1-mini and o1-preview OpenAI models
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Sep 22, 2024
1 parent d67c5e7 commit e28d166
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/OpenAI/Model/Gpt/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ enum Version: string
case GPT_4_TURBO = 'gpt-4-turbo';
case GPT_4o = 'gpt-4o';
case GPT_4o_MINI = 'gpt-4o-mini';
case o1_MINI = 'o1-mini';
case o1_PREVIEW = 'o1-preview';

public function hasStructuredOutputSupport(): bool
{
Expand Down

0 comments on commit e28d166

Please sign in to comment.