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:
Danny Avila 2025-08-07 20:49:40 -04:00 committed by GitHub
parent 486fe34a2b
commit 7147bce3c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 989 additions and 6 deletions

View file

@ -148,4 +148,8 @@ export const conversationPreset = {
reasoning_summary: {
type: String,
},
/** Verbosity control */
verbosity: {
type: String,
},
};

View file

@ -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;

View file

@ -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;