Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
🔧 fix: Add modelLabel to OpenAIClient and PluginsClient options (#4995)
Danny Avila6ef05dd2e69d
diff --git a/api/app/clients/OpenAIClient.js b/api/app/clients/OpenAIClient.jsindex 3554f4d654..9cde8b56e9 100644--- a/api/app/clients/OpenAIClient.js+++ b/api/app/clients/OpenAIClient.js@@ -423,6 +423,7 @@ class OpenAIClient extends BaseClient {promptPrefix: this.options.promptPrefix,resendFiles: this.options.resendFiles,imageDetail: this.options.imageDetail,+ modelLabel: this.options.modelLabel,iconURL: this.options.iconURL,greeting: this.options.greeting,spec: this.options.spec,diff --git a/api/app/clients/PluginsClient.js b/api/app/clients/PluginsClient.jsindex 09e3dc5adc..7259eb56f2 100644--- a/api/app/clients/PluginsClient.js+++ b/api/app/clients/PluginsClient.js@@ -43,6 +43,7 @@ class PluginsClient extends OpenAIClient {return {artifacts: this.options.artifacts,chatGptLabel: this.options.chatGptLabel,+ modelLabel: this.options.modelLabel,promptPrefix: this.options.promptPrefix,tools: this.options.tools,...this.modelOptions,diff --git a/api/app/clients/specs/OpenAIClient.test.js b/api/app/clients/specs/OpenAIClient.test.jsindex 2fa37957d1..ab70d4c907 100644--- a/api/app/clients/specs/OpenAIClient.test.js+++ b/api/app/clients/specs/OpenAIClient.test.js@@ -412,6 +412,7 @@ describe('OpenAIClient', () => {it('should return the correct save options', () => {const options = client.getSaveOptions();expect(options).toHaveProperty('chatGptLabel');+ expect(options).toHaveProperty('modelLabel');expect(options).toHaveProperty('promptPrefix');});});