Skip to content

Commit d0ef583

Browse files
committed
Add XHigh reasoning effort option
1 parent 10d9ea6 commit d0ef583

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/editor/src/views/shared/actions/api/update/interactions/edit-reasoning-effort-for-api-config.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export const edit_reasoning_effort_for_api_config = async (
1010
{ label: 'Low' },
1111
{ label: 'Medium' },
1212
{ label: 'High' },
13+
{ label: 'XHigh' },
1314
{ label: 'Max' }
1415
]
1516

@@ -29,7 +30,7 @@ export const edit_reasoning_effort_for_api_config = async (
2930
quick_pick.buttons = [close_button]
3031
if (current_effort) {
3132
const active = effort_options.find(
32-
(item) => item.label.toLowerCase() === current_effort.toLowerCase()
33+
(item) => item.label.toLowerCase() == current_effort.toLowerCase()
3334
)
3435
if (active) quick_pick.activeItems = [active]
3536
}

0 commit comments

Comments
 (0)