import React from 'react'; import { Switch } from '~/components/ui/Switch'; import { PromptLibrary } from '~/lib/common/prompt-library'; import { useSettings } from '~/lib/hooks/useSettings'; export default function FeaturesTab() { const { debug, enableDebugMode, isLocalModel, enableLocalModels, enableEventLogs, isLatestBranch, enableLatestBranch, promptId, setPromptId, enableContextOptimization, contextOptimizationEnabled, } = useSettings(); const handleToggle = (enabled: boolean) => { enableDebugMode(enabled); enableEventLogs(enabled); }; return (

Optional Features

Debug Features
Use Main Branch

Check for updates against the main branch instead of stable

Use Context Optimization

redact file contents form chat and puts the latest file contents on the system prompt

Experimental Features

Disclaimer: Experimental features may be unstable and are subject to change.

Experimental Providers
Prompt Library

Choose a prompt from the library to use as the system prompt.

); }