Skip to content

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

merge latest

Danny Avilab5541903e449
diff --cc client/src/components/Input/OpenAIOptions/index.jsx
index 0d1050df2c,0fcfb34258..4b8f87a1a1
--- a/client/src/components/Input/OpenAIOptions/index.jsx
+++ b/client/src/components/Input/OpenAIOptions/index.jsx
@@@ -1,8 -1,7 +1,8 @@@
import React, { useEffect, useState } from 'react';
- import { useSetRecoilState } from 'recoil';
+ import { useRecoilState } from 'recoil';
import ModelSelect from './ModelSelect';
import { Button } from '../../ui/Button.tsx';
+import Settings from './Settings.jsx';
import store from '~/store';
@@@ -89,17 -88,24 +89,24 @@@ function OpenAIOptions()
(advancedMode ? ' show' : '')
}
>
- <div className="flex w-full items-center justify-between bg-slate-100 px-4 py-2 dark:bg-white/10">
- <span className="text-xs font-medium font-normal">Advanced settings for OpenAI endpoint</span>
- <Button
- type="button"
- className="h-auto bg-transparent px-2 py-1 text-xs font-medium font-normal text-black hover:bg-slate-200 hover:text-black dark:bg-transparent dark:text-white dark:hover:bg-gray-700 dark:hover:text-white"
- onClick={switchToSimpleMode}
- >
- Switch to simple mode
- </Button>
+ <div
+ className={
+ cardStyle +
+ ' flex w-full flex-col overflow-hidden rounded-md border bg-slate-200 px-0 pb-[10px] dark:border-white/10 lg:w-[736px]'
+ }
+ >
+ <div className="flex w-full items-center justify-between bg-slate-100 px-4 py-2 dark:bg-gray-800/60">
+ <span className="text-xs font-medium font-normal">Advanced settings for OpenAI endpoint</span>
+ <Button
+ type="button"
+ className="h-auto bg-transparent px-2 py-1 text-xs font-medium font-normal text-black hover:bg-slate-200 hover:text-black dark:bg-transparent dark:text-white dark:hover:bg-gray-700 dark:hover:text-white"
+ onClick={switchToSimpleMode}
+ >
+ Switch to simple mode
+ </Button>
+ </div>
- <div className="h-[200px]">content</div>
++ <div className="h-[375px] p-5"><Settings/></div>
</div>
- <div className="h-[375px] p-5"><Settings/></div>
</div>
</>
);