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
ci fix(ai): restore typechecking for dynamic chat parts (#11257)
Shahmir Varqhab1299c7df718
diff --git a/marimo/_ai/_types.py b/marimo/_ai/_types.pyindex dc2b031598..896fb7004e 100644--- a/marimo/_ai/_types.py+++ b/marimo/_ai/_types.py@@ -338,7 +338,9 @@ class ChatMessage(msgspec.Struct, dict=True):try:from pydantic import TypeAdapter- adapter = TypeAdapter(part_validator_class)+ adapter: TypeAdapter[object] = TypeAdapter(+ part_validator_class+ )validated_parts.append(adapter.validate_python(sanitized_part))