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

fix(Enum): cannot be used as a value when imported as type (#764)

Danny Avila06a7fba39bef
diff --git a/client/src/components/Endpoints/Settings/AgentSettings.tsx b/client/src/components/Endpoints/Settings/AgentSettings.tsx
index 8d9baad6db..f6dde6f06f 100644
--- a/client/src/components/Endpoints/Settings/AgentSettings.tsx
+++ b/client/src/components/Endpoints/Settings/AgentSettings.tsx
@@ -1,5 +1,4 @@
-import { TModelSelectProps } from '~/common';
-import type { ESide } from '~/common';
+import { TModelSelectProps, ESide } from '~/common';
import {
Switch,
SelectDropDown,
diff --git a/client/src/components/Endpoints/Settings/OptionHover.tsx b/client/src/components/Endpoints/Settings/OptionHover.tsx
index 39fe8d30ef..2648a06184 100644
--- a/client/src/components/Endpoints/Settings/OptionHover.tsx
+++ b/client/src/components/Endpoints/Settings/OptionHover.tsx
@@ -1,6 +1,6 @@
import React from 'react';
import { HoverCardPortal, HoverCardContent } from '~/components/ui';
-import type { ESide } from '~/common';
+import { ESide } from '~/common';
import { useLocalize } from '~/hooks';
type TOptionHoverProps = {