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
chore(ai): upgrade default Anthropic model to claude-3-7-sonnet-20250219 (#4028)
salim22bb00bdc8f0
diff --git a/docs/guides/editor_features/ai_completion.md b/docs/guides/editor_features/ai_completion.mdindex 780926f1f2..40121fe6ec 100644--- a/docs/guides/editor_features/ai_completion.md+++ b/docs/guides/editor_features/ai_completion.md@@ -157,7 +157,7 @@ To use Anthropic with marimo:```toml title="marimo.toml"[ai.open_ai]-model = "claude-3-5-sonnet-20240620"+model = "claude-3-7-sonnet-20250219"# or any model from https://docs.anthropic.com/en/docs/about-claude/models[ai.anthropic]diff --git a/examples/ai/chat/anthropic_example.py b/examples/ai/chat/anthropic_example.pyindex 2277e12460..bc288dcf12 100644--- a/examples/ai/chat/anthropic_example.py+++ b/examples/ai/chat/anthropic_example.py@@ -54,7 +54,7 @@ def __(input_key, mo, os_key):def __(key, mo):chatbot = mo.ui.chat(mo.ai.llm.anthropic(- "claude-3-5-sonnet-20240620",+ "claude-3-7-sonnet-20250219",system_message="You are a helpful assistant.",api_key=key,),diff --git a/frontend/src/components/app-config/constants.ts b/frontend/src/components/app-config/constants.tsindex 1141b269f9..f38ebdd5ce 100644--- a/frontend/src/components/app-config/constants.ts+++ b/frontend/src/components/app-config/constants.ts@@ -1,6 +1,7 @@/* Copyright 2024 Marimo. All rights reserved. */export const KNOWN_AI_MODELS = [// Anthropic+ "claude-3-7-sonnet-20250219","claude-3-5-sonnet-20241022","claude-3-opus","claude-3.5-haiku",