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, autoSelectTemplate, setAutoSelectTemplate, 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

Auto Select Code Template

Let Bolt select the best starter template for your project.

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

Enable experimental providers such as Ollama, LMStudio, and OpenAILike.

Prompt Library

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

); }