mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-13 13:04:24 +01:00
Merge remote-tracking branch 'upstream/main' into feature/entra-id-azure-integration
This commit is contained in:
commit
6ba2d8e967
41 changed files with 2255 additions and 1361 deletions
|
|
@ -41,7 +41,7 @@
|
|||
"dependencies": {
|
||||
"axios": "^1.12.1",
|
||||
"dayjs": "^1.11.13",
|
||||
"js-yaml": "^4.1.0",
|
||||
"js-yaml": "^4.1.1",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
"@types/node": "^20.3.0",
|
||||
"@types/react": "^18.2.18",
|
||||
"@types/winston": "^2.4.4",
|
||||
"jest": "^29.5.0",
|
||||
"jest": "^30.2.0",
|
||||
"jest-junit": "^16.0.0",
|
||||
"openapi-types": "^12.1.3",
|
||||
"rimraf": "^5.0.1",
|
||||
|
|
|
|||
|
|
@ -927,7 +927,7 @@ export enum KnownEndpoints {
|
|||
|
||||
export enum FetchTokenConfig {
|
||||
openrouter = KnownEndpoints.openrouter,
|
||||
helicone = KnownEndpoints.helicone
|
||||
helicone = KnownEndpoints.helicone,
|
||||
}
|
||||
|
||||
export const defaultEndpoints: EModelEndpoint[] = [
|
||||
|
|
@ -964,6 +964,10 @@ export const alternateName = {
|
|||
};
|
||||
|
||||
const sharedOpenAIModels = [
|
||||
'gpt-5.1',
|
||||
'gpt-5.1-chat-latest',
|
||||
'gpt-5.1-codex',
|
||||
'gpt-5.1-codex-mini',
|
||||
'gpt-5',
|
||||
'gpt-5-mini',
|
||||
'gpt-5-nano',
|
||||
|
|
|
|||
|
|
@ -230,9 +230,10 @@ const openAIParams: Record<string, SettingDefinition> = {
|
|||
description: 'com_endpoint_openai_reasoning_effort',
|
||||
descriptionCode: true,
|
||||
type: 'enum',
|
||||
default: ReasoningEffort.none,
|
||||
default: ReasoningEffort.unset,
|
||||
component: 'slider',
|
||||
options: [
|
||||
ReasoningEffort.unset,
|
||||
ReasoningEffort.none,
|
||||
ReasoningEffort.minimal,
|
||||
ReasoningEffort.low,
|
||||
|
|
@ -240,6 +241,7 @@ const openAIParams: Record<string, SettingDefinition> = {
|
|||
ReasoningEffort.high,
|
||||
],
|
||||
enumMappings: {
|
||||
[ReasoningEffort.unset]: 'com_ui_auto',
|
||||
[ReasoningEffort.none]: 'com_ui_none',
|
||||
[ReasoningEffort.minimal]: 'com_ui_minimal',
|
||||
[ReasoningEffort.low]: 'com_ui_low',
|
||||
|
|
@ -291,7 +293,7 @@ const openAIParams: Record<string, SettingDefinition> = {
|
|||
ReasoningSummary.detailed,
|
||||
],
|
||||
enumMappings: {
|
||||
[ReasoningSummary.none]: 'com_ui_none',
|
||||
[ReasoningSummary.none]: 'com_ui_unset',
|
||||
[ReasoningSummary.auto]: 'com_ui_auto',
|
||||
[ReasoningSummary.concise]: 'com_ui_concise',
|
||||
[ReasoningSummary.detailed]: 'com_ui_detailed',
|
||||
|
|
|
|||
|
|
@ -166,7 +166,8 @@ export enum ImageDetail {
|
|||
}
|
||||
|
||||
export enum ReasoningEffort {
|
||||
none = '',
|
||||
unset = '',
|
||||
none = 'none',
|
||||
minimal = 'minimal',
|
||||
low = 'low',
|
||||
medium = 'medium',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue