Skip to content

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.

fix: import dataclass correctly (#4265)

Shahmir Varqhafe845e38a94a
diff --git a/marimo/_server/ai/providers.py b/marimo/_server/ai/providers.py
index 7c5425f908..bf4e15d32c 100644
--- a/marimo/_server/ai/providers.py
+++ b/marimo/_server/ai/providers.py
@@ -3,6 +3,7 @@ from __future__ import annotations
from abc import ABC, abstractmethod
from collections.abc import Generator
+from dataclasses import dataclass
from typing import (
TYPE_CHECKING,
Any,
@@ -12,7 +13,6 @@ from typing import (
cast,
)
-from attr import dataclass
from starlette.exceptions import HTTPException
from marimo import _loggers