Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions frontend/src/app/routes/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import GeneralTab from '@/components/settings/general-tab'
import { Button } from '@/components/ui/button'
import { Icon } from '@/components/ui/icon'
import DataControlTab from '@/components/settings/data-control-tab'
import PersonalizationTab from '@/components/settings/personalization-tab'
import CreditUsage from '@/components/credit-usage'
import SubscriptionTab from '@/components/settings/subscription-tab'
import { Logo } from '@/components/logo'
Expand All @@ -18,6 +19,7 @@ import { useIsSageTheme } from '@/hooks/use-is-sage-theme'

enum SettingTab {
GENERAL = 'general',
PERSONALIZATION = 'personalization',
ACCOUNT = 'account',
NOTIFICATIONS = 'notifications',
CONNECTORS = 'connectors',
Expand All @@ -37,6 +39,7 @@ const Settings = () => {

const tabs = [
{ key: SettingTab.GENERAL, label: t('settings.tabs.general') },
{ key: SettingTab.PERSONALIZATION, label: t('settings.tabs.personalization') },
{ key: SettingTab.ACCOUNT, label: t('settings.tabs.account') },
// { key: SettingTab.NOTIFICATIONS, label: t('settings.tabs.notifications') },
// { key: SettingTab.CONNECTORS, label: t('settings.tabs.connectors') },
Expand All @@ -56,6 +59,8 @@ const Settings = () => {
switch (activeTab) {
case SettingTab.GENERAL:
return <GeneralTab />
case SettingTab.PERSONALIZATION:
return <PersonalizationTab />
case SettingTab.ACCOUNT:
return <AccountTab />
case SettingTab.DATA_CONTROLS:
Expand Down
7 changes: 7 additions & 0 deletions frontend/src/components/agent-setting/tool-setting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ enum TOOL {
REVIEW_AGENT = 'Review Agent',
CODEX = 'Codex',
CLAUDE_CODE = 'Claude Code',
AGENTIC_MEMORY = 'Agentic Memory',
WEB_SEARCH = 'Web Search',
WEB_VISIT = 'Web Visit',
IMAGE_SEARCH = 'Image Search',
Expand Down Expand Up @@ -160,6 +161,9 @@ const ToolSetting = ({ className }: ToolSettingProps) => {
case TOOL.CLAUDE_CODE:
isActive = toolSettings?.claude_code || false
break
case TOOL.AGENTIC_MEMORY:
isActive = toolSettings?.agentic_memory || false
break
default:
isActive = tool.isActive || false
}
Expand Down Expand Up @@ -222,6 +226,9 @@ const ToolSetting = ({ className }: ToolSettingProps) => {
newSettings.claude_code = shouldEnableClaudeCode
break
}
case TOOL.AGENTIC_MEMORY:
newSettings.agentic_memory = checked
break
case TOOL.WEB_SEARCH:
newChatSettings.web_search = checked
break
Expand Down
Loading