mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-05 17:21:50 +01:00
⚠️ chore: Remove Deprecated forcePrompt setting (#11622)
- Removed `forcePrompt` parameter from various configuration files including `librechat.example.yaml`, `initialize.js`, `values.yaml`, and `initialize.ts`.
- This change simplifies the configuration by eliminating unused options, enhancing clarity and maintainability across the codebase.
This commit is contained in:
parent
f34052c6bb
commit
5eb0a3ad90
6 changed files with 0 additions and 12 deletions
|
|
@ -31,7 +31,6 @@ function buildCustomOptions(
|
|||
customParams: endpointConfig.customParams,
|
||||
titleConvo: endpointConfig.titleConvo,
|
||||
titleModel: endpointConfig.titleModel,
|
||||
forcePrompt: endpointConfig.forcePrompt,
|
||||
summaryModel: endpointConfig.summaryModel,
|
||||
modelDisplayLabel: endpointConfig.modelDisplayLabel,
|
||||
titleMethod: endpointConfig.titleMethod ?? 'completion',
|
||||
|
|
|
|||
|
|
@ -1300,7 +1300,6 @@ describe('getOpenAIConfig', () => {
|
|||
max_completion_tokens: 4000,
|
||||
},
|
||||
dropParams: ['frequency_penalty'],
|
||||
forcePrompt: false,
|
||||
modelOptions: {
|
||||
model: modelName,
|
||||
user: 'azure-user-123',
|
||||
|
|
@ -1395,7 +1394,6 @@ describe('getOpenAIConfig', () => {
|
|||
dropParams: ['presence_penalty'],
|
||||
titleConvo: true,
|
||||
titleModel: 'gpt-3.5-turbo',
|
||||
forcePrompt: false,
|
||||
summaryModel: 'gpt-3.5-turbo',
|
||||
modelDisplayLabel: 'Custom GPT-4',
|
||||
titleMethod: 'completion',
|
||||
|
|
@ -1414,7 +1412,6 @@ describe('getOpenAIConfig', () => {
|
|||
customParams: {},
|
||||
titleConvo: endpointConfig.titleConvo,
|
||||
titleModel: endpointConfig.titleModel,
|
||||
forcePrompt: endpointConfig.forcePrompt,
|
||||
summaryModel: endpointConfig.summaryModel,
|
||||
modelDisplayLabel: endpointConfig.modelDisplayLabel,
|
||||
titleMethod: endpointConfig.titleMethod,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue