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: Web Search and Code Interpreter Toggle Cursor Hover Behavior (#11614)
Dustin Healy2cef9368ea23
diff --git a/client/src/components/SidePanel/Agents/Code/Action.tsx b/client/src/components/SidePanel/Agents/Code/Action.tsxindex 5d943f0a60..6919ab1339 100644--- a/client/src/components/SidePanel/Agents/Code/Action.tsx+++ b/client/src/components/SidePanel/Agents/Code/Action.tsx@@ -14,6 +14,7 @@ import type { AgentForm } from '~/common';import { useLocalize, useCodeApiKeyForm } from '~/hooks';import ApiKeyDialog from './ApiKeyDialog';import { ESide } from '~/common';+import { cn } from '~/utils';export default function Action({ authType = '', isToolAuthenticated = false }) {const localize = useLocalize();@@ -73,7 +74,10 @@ export default function Action({ authType = '', isToolAuthenticated = false }) {<labelid="execute-code-label"htmlFor="execute-code-checkbox"- className="form-check-label text-token-text-primary cursor-pointer"+ className={cn(+ 'form-check-label text-token-text-primary',+ (runCodeIsEnabled || isToolAuthenticated) && 'cursor-pointer',+ )}>{localize('com_ui_run_code')}</label>diff --git a/client/src/components/SidePanel/Agents/Search/Action.tsx b/client/src/components/SidePanel/Agents/Search/Action.tsxindex d71d0878fa..79019e28b7 100644--- a/client/src/components/SidePanel/Agents/Search/Action.tsx+++ b/client/src/components/SidePanel/Agents/Search/Action.tsx@@ -14,6 +14,7 @@ import type { AgentForm } from '~/common';import { useLocalize, useSearchApiKeyForm } from '~/hooks';import ApiKeyDialog from './ApiKeyDialog';import { ESide } from '~/common';+import { cn } from '~/utils';export default function Action({authTypes = [],@@ -81,7 +82,10 @@ export default function Action({<labelid="web-search-label"htmlFor="web-search-checkbox"- className="form-check-label text-token-text-primary cursor-pointer"+ className={cn(+ 'form-check-label text-token-text-primary',+ (webSearchIsEnabled || isToolAuthenticated) && 'cursor-pointer',+ )}>{localize('com_ui_web_search')}</label>