mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-20 01:06:11 +01:00
🧠 feat: Enable xhigh reasoning for OpenAI gpt-5.2 (#10924)
This commit is contained in:
parent
b288d81f5a
commit
2fd2a62886
6 changed files with 76 additions and 9 deletions
|
|
@ -239,6 +239,7 @@ const openAIParams: Record<string, SettingDefinition> = {
|
|||
ReasoningEffort.low,
|
||||
ReasoningEffort.medium,
|
||||
ReasoningEffort.high,
|
||||
ReasoningEffort.xhigh,
|
||||
],
|
||||
enumMappings: {
|
||||
[ReasoningEffort.unset]: 'com_ui_auto',
|
||||
|
|
@ -247,6 +248,7 @@ const openAIParams: Record<string, SettingDefinition> = {
|
|||
[ReasoningEffort.low]: 'com_ui_low',
|
||||
[ReasoningEffort.medium]: 'com_ui_medium',
|
||||
[ReasoningEffort.high]: 'com_ui_high',
|
||||
[ReasoningEffort.xhigh]: 'com_ui_extra_high',
|
||||
},
|
||||
optionType: 'model',
|
||||
columnSpan: 4,
|
||||
|
|
|
|||
|
|
@ -169,6 +169,7 @@ export enum ReasoningEffort {
|
|||
low = 'low',
|
||||
medium = 'medium',
|
||||
high = 'high',
|
||||
xhigh = 'xhigh',
|
||||
}
|
||||
|
||||
export enum ReasoningSummary {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue