A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
change ff name, chat_mode (#6582)
Myles Scolnick44877cd4a8ec
diff --git a/frontend/src/components/app-config/user-config-form.tsx b/frontend/src/components/app-config/user-config-form.tsxindex 3a48b7ae2d..6f3a33757f 100644--- a/frontend/src/components/app-config/user-config-form.tsx+++ b/frontend/src/components/app-config/user-config-form.tsx@@ -1361,7 +1361,7 @@ export const UserConfigForm: React.FC = () => {/><FormFieldcontrol={form.control}- name="experimental.mcp_docs"+ name="experimental.chat_modes"render={({ field }) => (<div className="flex flex-col gap-y-1"><FormItem className={formItemClasses}>@@ -1376,7 +1376,7 @@ export const UserConfigForm: React.FC = () => {</FormItem><IsOverriddenuserConfig={config}- name="experimental.mcp_docs"+ name="experimental.chat_modes"/><FormDescription>Switch between different modes in the Chat sidebar, todiff --git a/frontend/src/components/chat/chat-panel.tsx b/frontend/src/components/chat/chat-panel.tsxindex a5106ed589..3c380139be 100644--- a/frontend/src/components/chat/chat-panel.tsx+++ b/frontend/src/components/chat/chat-panel.tsx@@ -369,7 +369,7 @@ const ChatInputFooter: React.FC<ChatInputFooterProps> = memo(<TooltipProvider><div className="px-3 py-2 border-t border-border/20 flex flex-row items-center justify-between"><div className="flex items-center gap-2">- <FeatureFlagged feature="mcp_docs">+ <FeatureFlagged feature="chat_modes"><Select value={currentMode} onValueChange={saveModeChange}><SelectTrigger className="h-6 text-xs border-border shadow-none! ring-0! bg-muted hover:bg-muted/30 py-0 px-2 gap-1 capitalize">{currentMode}diff --git a/frontend/src/core/config/feature-flag.tsx b/frontend/src/core/config/feature-flag.tsxindex 2979fcabb1..adb669be43 100644--- a/frontend/src/core/config/feature-flag.tsx+++ b/frontend/src/core/config/feature-flag.tsx@@ -12,6 +12,7 @@ export interface ExperimentalFeatures {rtc_v2: boolean;performant_table_charts: boolean;mcp_docs: boolean;+ chat_modes: boolean;sql_linter: boolean;external_agents: boolean;sql_mode: boolean;@@ -25,6 +26,7 @@ const defaultValues: ExperimentalFeatures = {rtc_v2: false,performant_table_charts: false,mcp_docs: false,+ chat_modes: false,sql_linter: true,external_agents: import.meta.env.DEV,sql_mode: false,diff --git a/marimo/_config/config.py b/marimo/_config/config.pyindex 1cc5e1b949..a699668826 100644--- a/marimo/_config/config.py+++ b/marimo/_config/config.py@@ -509,6 +509,7 @@ class ExperimentalConfig(TypedDict, total=False):rtc_v2: boolperformant_table_charts: boolmcp_docs: bool+ chat_modes: boolsql_linter: boolsql_mode: booldiff --git a/pyproject.toml b/pyproject.tomlindex f6e8b84208..4e65916c79 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -548,6 +548,7 @@ multi_column = trueperformant_table_charts = truesql_linter = truesql_mode = true+chat_modes = true[tool.marimo.display]dataframes = "rich"