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
add svgs and improve ui for chat config (#6013)
Shahmir Varqha6d52727ee88a
diff --git a/frontend/src/components/ai/ai-provider-icon.tsx b/frontend/src/components/ai/ai-provider-icon.tsxindex 178920e871..a177be0c64 100644--- a/frontend/src/components/ai/ai-provider-icon.tsx+++ b/frontend/src/components/ai/ai-provider-icon.tsx@@ -1,9 +1,12 @@/* Copyright 2024 Marimo. All rights reserved. */import AnthropicIcon from "@marimo-team/llm-info/icons/anthropic.svg?inline";+import BedrockIcon from "@marimo-team/llm-info/icons/aws.svg?inline";+import AzureIcon from "@marimo-team/llm-info/icons/azure.svg?inline";import GoogleIcon from "@marimo-team/llm-info/icons/google.svg?inline";import OllamaIcon from "@marimo-team/llm-info/icons/ollama.svg?inline";import OpenAIIcon from "@marimo-team/llm-info/icons/openai.svg?inline";+import { BotIcon } from "lucide-react";import * as React from "react";import { cn } from "@/utils/cn";@@ -12,11 +15,13 @@ const icons = {anthropic: AnthropicIcon,google: GoogleIcon,ollama: OllamaIcon,+ azure: AzureIcon,+ bedrock: BedrockIcon,};export interface AiProviderIconPropsextends React.HTMLAttributes<HTMLImageElement> {- provider: keyof typeof icons;+ provider: keyof typeof icons | "openai-compatible";className?: string;}@@ -25,17 +30,17 @@ export const AiProviderIcon: React.FC<AiProviderIconProps> = ({className = "",...props}) => {- const icon = icons[provider];-- if (!icon) {- return null;+ if (provider === "openai-compatible") {+ return <BotIcon className={cn("h-4 w-4", className)} />;}+ const icon = icons[provider];+return (<imgsrc={icon}alt={provider}- className={cn("h-4 w-4", className)}+ className={cn("h-4 w-4 grayscale dark:invert", className)}{...props}/>);diff --git a/frontend/src/components/app-config/ai-config.tsx b/frontend/src/components/app-config/ai-config.tsxindex 4c06f838df..744b565a7f 100644--- a/frontend/src/components/app-config/ai-config.tsx+++ b/frontend/src/components/app-config/ai-config.tsx@@ -1,6 +1,6 @@/* Copyright 2024 Marimo. All rights reserved. */-import React from "react";+import React, { useId } from "react";import type { FieldPath, UseFormReturn } from "react-hook-form";import {FormControl,@@ -21,7 +21,14 @@ import {AiProviderIcon,type AiProviderIconProps,} from "../ai/ai-provider-icon";+import {+ Accordion,+ AccordionContent,+ AccordionItem,+ AccordionTrigger,+} from "../ui/accordion";import { ExternalLink } from "../ui/links";+import { Tabs, TabsContent, TabsList, TabsTrigger } from "../ui/tabs";import { SettingSubtitle } from "./common";import { AWS_REGIONS, KNOWN_AI_MODELS } from "./constants";import { IncorrectModelId } from "./incorrect-model-id";@@ -185,6 +192,8 @@ export const ModelSelector: React.FC<ModelSelectorProps> = ({description,disabled = false,}) => {+ const modelInputId = useId();+return (<FormFieldcontrol={form.control}@@ -196,7 +205,7 @@ export const ModelSelector: React.FC<ModelSelectorProps> = ({<FormLabel>Model</FormLabel><FormControl><Input- list="ai-model-datalist"+ list={modelInputId}data-testid={testId}className="m-0 inline-flex"placeholder={placeholder}@@ -207,7 +216,7 @@ export const ModelSelector: React.FC<ModelSelectorProps> = ({<FormMessage /><IsOverridden userConfig={config} name={name} /></FormItem>- <datalist id="ai-model-datalist">+ <datalist id={modelInputId}>{KNOWN_AI_MODELS.map((model) => (<option value={model} key={model}>{model}@@ -351,19 +360,8 @@ const renderCopilotProvider = (}};-const SettingGroup = ({- title,- children,-}: {- title: string;- children: React.ReactNode;-}) => {- return (- <div className="flex flex-col gap-4 pb-4">- <SettingSubtitle>{title}</SettingSubtitle>- {children}- </div>- );+const SettingGroup = ({ children }: { children: React.ReactNode }) => {+ return <div className="flex flex-col gap-4 pb-4">{children}</div>;};export const AiCodeCompletionConfig: React.FC<AiConfigProps> = ({@@ -371,10 +369,11 @@ export const AiCodeCompletionConfig: React.FC<AiConfigProps> = ({config,}) => {return (- <SettingGroup title="AI Code Completion">+ <SettingGroup>+ <SettingSubtitle>Code Completion</SettingSubtitle><p className="text-sm text-muted-secondary">- You may use GitHub Copilot, Codeium, or a custom provider (e.g. Ollama)- for AI code completion.+ Choose GitHub Copilot, Codeium, or a custom provider (such as Ollama) to+ enable AI-powered code completion.</p><ProviderSelect@@ -390,209 +389,262 @@ export const AiCodeCompletionConfig: React.FC<AiConfigProps> = ({);};-export const AiKeysConfig: React.FC<AiConfigProps> = ({ form, config }) => {- const isWasmRuntime = isWasm();-+const AccordionFormItem = ({+ title,+ triggerClassName,+ provider,+ children,+}: {+ title: string;+ triggerClassName?: string;+ provider: AiProviderIconProps["provider"];+ children: React.ReactNode;+}) => {return (- <SettingGroup title="AI Providers">- <AiProviderTitle provider="openai">OpenAI</AiProviderTitle>- <ApiKey- form={form}- config={config}- name="ai.open_ai.api_key"- placeholder="sk-proj..."- testId="ai-openai-api-key-input"- description={- <>- Your OpenAI API key from{" "}- <ExternalLink href="https://platform.openai.com/account/api-keys">- platform.openai.com- </ExternalLink>- .- </>- }- />- <BaseUrl- form={form}- config={config}- name="ai.open_ai.base_url"- placeholder="https://api.openai.com/v1"- testId="ai-base-url-input"- disabled={isWasmRuntime}- />-- <AiProviderTitle provider="anthropic">Anthropic</AiProviderTitle>- <ApiKey- form={form}- config={config}- name="ai.anthropic.api_key"- placeholder="sk-ant..."- testId="ai-anthropic-api-key-input"- description={- <>- Your Anthropic API key from{" "}- <ExternalLink href="https://console.anthropic.com/settings/keys">- console.anthropic.com- </ExternalLink>- .- </>- }- />-- <AiProviderTitle provider="google">Google</AiProviderTitle>- <ApiKey- form={form}- config={config}- name="ai.google.api_key"- placeholder="AI..."- testId="ai-google-api-key-input"- description={- <>- Your Google AI API key from{" "}- <ExternalLink href="https://aistudio.google.com/app/apikey">- aistudio.google.com- </ExternalLink>- .- </>- }- />-- <AiProviderTitle provider="ollama">Ollama</AiProviderTitle>- <BaseUrl- form={form}- config={config}- name="ai.ollama.base_url"- placeholder="http://localhost:11434/v1"- defaultValue="http://localhost:11434/v1"- testId="ollama-base-url-input"- />-- <AiProviderTitle>Azure</AiProviderTitle>- <ApiKey- form={form}- config={config}- name="ai.azure.api_key"- placeholder="sk-proj..."- testId="ai-azure-api-key-input"- description={- <>- Your Azure API key from{" "}- <ExternalLink href="https://portal.azure.com/">- portal.azure.com- </ExternalLink>- .- </>- }- />-- <BaseUrl- form={form}- config={config}- name="ai.azure.base_url"- placeholder="https://<your-resource-name>.openai.azure.com"- testId="ai-azure-base-url-input"- />+ <AccordionItem value={provider}>+ <AccordionTrigger className={triggerClassName}>+ <AiProviderTitle provider={provider}>{title}</AiProviderTitle>+ </AccordionTrigger>+ <AccordionContent wrapperClassName="flex flex-col gap-4">+ {children}+ </AccordionContent>+ </AccordionItem>+ );+};- <AiProviderTitle>AWS Bedrock</AiProviderTitle>+export const AiProvidersConfig: React.FC<AiConfigProps> = ({+ form,+ config,+}) => {+ const isWasmRuntime = isWasm();- <p className="text-sm text-muted-secondary mb-2">- To use AWS Bedrock, you need to configure AWS credentials and region.- See the{" "}- <ExternalLink href="https://docs.marimo.io/guides/editor_features/ai_completion.html#aws-bedrock">- documentation+ return (+ <SettingGroup>+ <p className="text-sm text-muted-secondary">+ Add your API keys below or to <Kbd className="inline">marimo.toml</Kbd>{" "}+ to set up a provider for the Code Completion and Assistant features; see{" "}+ <ExternalLink href="https://docs.marimo.io/guides/editor_features/ai_completion/#connecting-to-an-llm">+ docs</ExternalLink>{" "}- for more details.+ for more info.</p>-- <FormField- control={form.control}- disabled={isWasmRuntime}- name="ai.bedrock.region_name"- render={({ field }) => (- <div className="flex flex-col space-y-1">- <FormItem className={formItemClasses}>- <FormLabel>AWS Region</FormLabel>- <FormControl>- <NativeSelect- data-testid="bedrock-region-select"- onChange={(e) => field.onChange(e.target.value)}- value={- typeof field.value === "string" ? field.value : "us-east-1"- }- disabled={field.disabled}- className="inline-flex mr-2"- >- {AWS_REGIONS.map((option) => (- <option value={option} key={option}>- {option}- </option>- ))}- </NativeSelect>- </FormControl>- <FormMessage />- <IsOverridden userConfig={config} name="ai.bedrock.region_name" />- </FormItem>- <FormDescription>- The AWS region where Bedrock service is available.- </FormDescription>- </div>- )}- />-- <FormField- control={form.control}- disabled={isWasmRuntime}- name="ai.bedrock.profile_name"- render={({ field }) => (- <div className="flex flex-col space-y-1">- <FormItem className={formItemClasses}>- <FormLabel>AWS Profile Name (Optional)</FormLabel>- <FormControl>- <Input- data-testid="bedrock-profile-input"- rootClassName="flex-1"- className="m-0 inline-flex h-7"- placeholder="default"- {...field}- value={field.value || ""}- />- </FormControl>- <FormMessage />- <IsOverridden- userConfig={config}- name="ai.bedrock.profile_name"- />- </FormItem>- <FormDescription>- The AWS profile name from your ~/.aws/credentials file. Leave- blank to use your default AWS credentials.- </FormDescription>- </div>- )}- />-- <AiProviderTitle>OpenAI-Compatible</AiProviderTitle>- <ApiKey- form={form}- config={config}- name="ai.open_ai_compatible.api_key"- placeholder="sk-..."- testId="ai-openai-compatible-api-key-input"- description={- <>- API key for any OpenAI-compatible provider (e.g., Together, Groq,- Mistral, Perplexity, etc).- </>- }- />- <BaseUrl- form={form}- config={config}- name="ai.open_ai_compatible.base_url"- placeholder="https://api.together.xyz/v1"- testId="ai-openai-compatible-base-url-input"- description={<>Base URL for your OpenAI-compatible provider.</>}- />+ <Accordion type="multiple">+ <AccordionFormItem+ title="OpenAI"+ provider="openai"+ triggerClassName="pt-0"+ >+ <ApiKey+ form={form}+ config={config}+ name="ai.open_ai.api_key"+ placeholder="sk-proj..."+ testId="ai-openai-api-key-input"+ description={+ <>+ Your OpenAI API key from{" "}+ <ExternalLink href="https://platform.openai.com/account/api-keys">+ platform.openai.com+ </ExternalLink>+ .+ </>+ }+ />+ <BaseUrl+ form={form}+ config={config}+ name="ai.open_ai.base_url"+ placeholder="https://api.openai.com/v1"+ testId="ai-base-url-input"+ disabled={isWasmRuntime}+ />+ </AccordionFormItem>++ <AccordionFormItem title="Anthropic" provider="anthropic">+ <ApiKey+ form={form}+ config={config}+ name="ai.anthropic.api_key"+ placeholder="sk-ant..."+ testId="ai-anthropic-api-key-input"+ description={+ <>+ Your Anthropic API key from{" "}+ <ExternalLink href="https://console.anthropic.com/settings/keys">+ console.anthropic.com+ </ExternalLink>+ .+ </>+ }+ />+ </AccordionFormItem>++ <AccordionFormItem title="Google" provider="google">+ <ApiKey+ form={form}+ config={config}+ name="ai.google.api_key"+ placeholder="AI..."+ testId="ai-google-api-key-input"+ description={+ <>+ Your Google AI API key from{" "}+ <ExternalLink href="https://aistudio.google.com/app/apikey">+ aistudio.google.com+ </ExternalLink>+ .+ </>+ }+ />+ </AccordionFormItem>++ <AccordionFormItem title="Ollama" provider="ollama">+ <BaseUrl+ form={form}+ config={config}+ name="ai.ollama.base_url"+ placeholder="http://localhost:11434/v1"+ defaultValue="http://localhost:11434/v1"+ testId="ollama-base-url-input"+ />+ </AccordionFormItem>++ <AccordionFormItem title="Azure" provider="azure">+ <ApiKey+ form={form}+ config={config}+ name="ai.azure.api_key"+ placeholder="sk-proj..."+ testId="ai-azure-api-key-input"+ description={+ <>+ Your Azure API key from{" "}+ <ExternalLink href="https://portal.azure.com/">+ portal.azure.com+ </ExternalLink>+ .+ </>+ }+ />+ <BaseUrl+ form={form}+ config={config}+ name="ai.azure.base_url"+ placeholder="https://<your-resource-name>.openai.azure.com"+ testId="ai-azure-base-url-input"+ />+ </AccordionFormItem>++ <AccordionFormItem title="AWS Bedrock" provider="bedrock">+ <p className="text-sm text-muted-secondary mb-2">+ To use AWS Bedrock, you need to configure AWS credentials and+ region. See the{" "}+ <ExternalLink href="https://docs.marimo.io/guides/editor_features/ai_completion.html#aws-bedrock">+ documentation+ </ExternalLink>{" "}+ for more details.+ </p>++ <FormField+ control={form.control}+ disabled={isWasmRuntime}+ name="ai.bedrock.region_name"+ render={({ field }) => (+ <div className="flex flex-col space-y-1">+ <FormItem className={formItemClasses}>+ <FormLabel>AWS Region</FormLabel>+ <FormControl>+ <NativeSelect+ data-testid="bedrock-region-select"+ onChange={(e) => field.onChange(e.target.value)}+ value={+ typeof field.value === "string"+ ? field.value+ : "us-east-1"+ }+ disabled={field.disabled}+ className="inline-flex mr-2"+ >+ {AWS_REGIONS.map((option) => (+ <option value={option} key={option}>+ {option}+ </option>+ ))}+ </NativeSelect>+ </FormControl>+ <FormMessage />+ <IsOverridden+ userConfig={config}+ name="ai.bedrock.region_name"+ />+ </FormItem>+ <FormDescription>+ The AWS region where Bedrock service is available.+ </FormDescription>+ </div>+ )}+ />++ <FormField+ control={form.control}+ disabled={isWasmRuntime}+ name="ai.bedrock.profile_name"+ render={({ field }) => (+ <div className="flex flex-col space-y-1">+ <FormItem className={formItemClasses}>+ <FormLabel>AWS Profile Name (Optional)</FormLabel>+ <FormControl>+ <Input+ data-testid="bedrock-profile-input"+ rootClassName="flex-1"+ className="m-0 inline-flex h-7"+ placeholder="default"+ {...field}+ value={field.value || ""}+ />+ </FormControl>+ <FormMessage />+ <IsOverridden+ userConfig={config}+ name="ai.bedrock.profile_name"+ />+ </FormItem>+ <FormDescription>+ The AWS profile name from your ~/.aws/credentials file. Leave+ blank to use your default AWS credentials.+ </FormDescription>+ </div>+ )}+ />+ </AccordionFormItem>++ <AccordionFormItem+ title="OpenAI-Compatible"+ provider="openai-compatible"+ >+ <ApiKey+ form={form}+ config={config}+ name="ai.open_ai_compatible.api_key"+ placeholder="sk-..."+ testId="ai-openai-compatible-api-key-input"+ description={+ <>+ API key for any OpenAI-compatible provider (e.g., Together,+ Groq, Mistral, Perplexity, etc).+ </>+ }+ />+ <BaseUrl+ form={form}+ config={config}+ name="ai.open_ai_compatible.base_url"+ placeholder="https://api.together.xyz/v1"+ testId="ai-openai-compatible-base-url-input"+ description={<>Base URL for your OpenAI-compatible provider.</>}+ />+ </AccordionFormItem>+ </Accordion></SettingGroup>);};@@ -601,14 +653,11 @@ export const AiAssistConfig: React.FC<AiConfigProps> = ({ form, config }) => {const isWasmRuntime = isWasm();return (- <SettingGroup title="AI Assist">+ <SettingGroup>+ <SettingSubtitle>AI Assistant</SettingSubtitle><p className="text-sm text-muted-secondary">- Add an API key below or to <Kbd className="inline">marimo.toml</Kbd> to- activate marimo's AI assistant for chat or edits; see{" "}- <ExternalLink href="https://docs.marimo.io/guides/editor_features/ai_completion/">- docs- </ExternalLink>{" "}- for more info.+ Use the Chat panel to talk to your codebase, or make edits using the{" "}+ <Kbd className="inline">Generate with AI</Kbd> button.</p><ModelSelector@@ -668,10 +717,23 @@ export const AiConfig: React.FC<AiConfigProps> = ({onSubmit,}) => {return (- <>- <AiCodeCompletionConfig form={form} config={config} onSubmit={onSubmit} />- <AiAssistConfig form={form} config={config} onSubmit={onSubmit} />- <AiKeysConfig form={form} config={config} onSubmit={onSubmit} />- </>+ <Tabs defaultValue="ai-features">+ <TabsList className="mb-2">+ <TabsTrigger value="ai-features">AI Features</TabsTrigger>+ <TabsTrigger value="ai-providers">AI Providers</TabsTrigger>+ </TabsList>++ <TabsContent value="ai-features">+ <AiCodeCompletionConfig+ form={form}+ config={config}+ onSubmit={onSubmit}+ />+ <AiAssistConfig form={form} config={config} onSubmit={onSubmit} />+ </TabsContent>+ <TabsContent value="ai-providers">+ <AiProvidersConfig form={form} config={config} onSubmit={onSubmit} />+ </TabsContent>+ </Tabs>);};diff --git a/packages/llm-info/icons/aws.svg b/packages/llm-info/icons/aws.svgnew file mode 100644index 0000000000..2181ea49f3--- /dev/null+++ b/packages/llm-info/icons/aws.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" y="0" x="0" id="Layer_1" version="1.1" viewBox="0 0 300.67 179.8"><style id="style1855" type="text/css">.st1{fill-rule:evenodd;clip-rule:evenodd;fill:#f90}</style><g transform="translate(-1.668 -1.1)" id="g1865"><path id="path1857" d="M86.4 66.4c0 3.7.4 6.7 1.1 8.9.8 2.2 1.8 4.6 3.2 7.2.5.8.7 1.6.7 2.3 0 1-.6 2-1.9 3L83.2 92c-.9.6-1.8.9-2.6.9-1 0-2-.5-3-1.4-1.4-1.5-2.6-3.1-3.6-4.7-1-1.7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-109.5-21.3-148.7-56.7-3.1-2.8-.3-6.6 3.4-4.4 42.4 24.6 94.7 39.5 148.8 39.5 36.5 0 76.6-7.6 113.5-23.2 5.5-2.5 10.2 3.6 4.8 7.6z" class="st1"/><path id="path1861" d="M287.2 128.1c-4.2-5.4-27.8-2.6-38.5-1.3-3.2.4-3.7-2.4-.8-4.5 18.8-13.2 49.7-9.4 53.3-5 3.6 4.5-1 35.4-18.6 50.2-2.7 2.3-5.3 1.1-4.1-1.9 4-9.9 12.9-32.2 8.7-37.5z" class="st1"/></g></g></svg>\ No newline at end of filediff --git a/packages/llm-info/icons/azure.svg b/packages/llm-info/icons/azure.svgnew file mode 100644index 0000000000..ff5dfa5c11--- /dev/null+++ b/packages/llm-info/icons/azure.svg@@ -0,0 +1,23 @@+<svg width="150" height="150" viewBox="0 0 96 96" xmlns="http://www.w3.org/2000/svg">+ <defs>+ <linearGradient id="e399c19f-b68f-429d-b176-18c2117ff73c" x1="-1032.172" x2="-1059.213" y1="145.312" y2="65.426" gradientTransform="matrix(1 0 0 -1 1075 158)" gradientUnits="userSpaceOnUse">+ <stop offset="0" stop-color="#114a8b"/>+ <stop offset="1" stop-color="#0669bc"/>+ </linearGradient>+ <linearGradient id="ac2a6fc2-ca48-4327-9a3c-d4dcc3256e15" x1="-1023.725" x2="-1029.98" y1="108.083" y2="105.968" gradientTransform="matrix(1 0 0 -1 1075 158)" gradientUnits="userSpaceOnUse">+ <stop offset="0" stop-opacity=".3"/>+ <stop offset=".071" stop-opacity=".2"/>+ <stop offset=".321" stop-opacity=".1"/>+ <stop offset=".623" stop-opacity=".05"/>+ <stop offset="1" stop-opacity="0"/>+ </linearGradient>+ <linearGradient id="a7fee970-a784-4bb1-af8d-63d18e5f7db9" x1="-1027.165" x2="-997.482" y1="147.642" y2="68.561" gradientTransform="matrix(1 0 0 -1 1075 158)" gradientUnits="userSpaceOnUse">+ <stop offset="0" stop-color="#3ccbf4"/>+ <stop offset="1" stop-color="#2892df"/>+ </linearGradient>+ </defs>+ <path fill="url(#e399c19f-b68f-429d-b176-18c2117ff73c)" d="M33.338 6.544h26.038l-27.03 80.087a4.152 4.152 0 0 1-3.933 2.824H8.149a4.145 4.145 0 0 1-3.928-5.47L29.404 9.368a4.152 4.152 0 0 1 3.934-2.825z"/>+ <path fill="#0078d4" d="M71.175 60.261h-41.29a1.911 1.911 0 0 0-1.305 3.309l26.532 24.764a4.171 4.171 0 0 0 2.846 1.121h23.38z"/>+ <path fill="url(#ac2a6fc2-ca48-4327-9a3c-d4dcc3256e15)" d="M33.338 6.544a4.118 4.118 0 0 0-3.943 2.879L4.252 83.917a4.14 4.14 0 0 0 3.908 5.538h20.787a4.443 4.443 0 0 0 3.41-2.9l5.014-14.777 17.91 16.705a4.237 4.237 0 0 0 2.666.972H81.24L71.024 60.261l-29.781.007L59.47 6.544z"/>+ <path fill="url(#a7fee970-a784-4bb1-af8d-63d18e5f7db9)" d="M66.595 9.364a4.145 4.145 0 0 0-3.928-2.82H33.648a4.146 4.146 0 0 1 3.928 2.82l25.184 74.62a4.146 4.146 0 0 1-3.928 5.472h29.02a4.146 4.146 0 0 0 3.927-5.472z"/>+</svg>\ No newline at end of file