Skip to content

Commit 45bc559

Browse files
committed
Fix prettier formatting in supportsReasoningEffort
1 parent 7383715 commit 45bc559

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

plugins/openai/src/models.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,5 +215,14 @@ export type MetaChatModels =
215215
| 'Llama-3.3-8B-Instruct';
216216

217217
export function supportsReasoningEffort(model: ChatModels | string): boolean {
218-
return ['gpt-5.4', 'gpt-5.2', 'gpt-5.2-chat-latest', 'gpt-5.1', 'gpt-5.1-chat-latest', 'gpt-5', 'gpt-5-mini', 'gpt-5-nano'].includes(model);
218+
return [
219+
'gpt-5.4',
220+
'gpt-5.2',
221+
'gpt-5.2-chat-latest',
222+
'gpt-5.1',
223+
'gpt-5.1-chat-latest',
224+
'gpt-5',
225+
'gpt-5-mini',
226+
'gpt-5-nano',
227+
].includes(model);
219228
}

0 commit comments

Comments
 (0)