mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-04 09:38:50 +01:00
✨ feat: Add OpenAI Verbosity Parameter (#8929)
* WIP: Verbosity OpenAI Parameter * 🔧 chore: remove unused import of extractEnvVariable from parsers.ts * ✨ feat: add comprehensive tests for getOpenAIConfig and enhance verbosity handling * fix: Handling for maxTokens in GPT-5+ models and add corresponding tests * feat: Implement GPT-5+ model handling in processMemory function
This commit is contained in:
parent
486fe34a2b
commit
7147bce3c3
14 changed files with 989 additions and 6 deletions
|
|
@ -148,4 +148,8 @@ export const conversationPreset = {
|
|||
reasoning_summary: {
|
||||
type: String,
|
||||
},
|
||||
/** Verbosity control */
|
||||
verbosity: {
|
||||
type: String,
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ export interface IPreset extends Document {
|
|||
max_tokens?: number;
|
||||
reasoning_effort?: string;
|
||||
reasoning_summary?: string;
|
||||
verbosity?: string;
|
||||
useResponsesApi?: boolean;
|
||||
web_search?: boolean;
|
||||
disableStreaming?: boolean;
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ export interface IConversation extends Document {
|
|||
max_tokens?: number;
|
||||
reasoning_effort?: string;
|
||||
reasoning_summary?: string;
|
||||
verbosity?: string;
|
||||
useResponsesApi?: boolean;
|
||||
web_search?: boolean;
|
||||
disableStreaming?: boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue