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(ai): stop logging raw AI config at debug level (#9911)

Shahmir Varqhaf5c0c4d940d1
diff --git a/marimo/_server/api/endpoints/ai.py b/marimo/_server/api/endpoints/ai.py
index 11543df038..70bad858d2 100644
--- a/marimo/_server/api/endpoints/ai.py
+++ b/marimo/_server/api/endpoints/ai.py
@@ -98,7 +98,6 @@ async def safe_stream_wrapper(
def get_ai_config(config: MarimoConfig) -> AiConfig:
ai_config = config.get("ai", None)
- LOGGER.debug(f"ai_config: {ai_config}")
if ai_config is None:
raise HTTPException(
status_code=HTTPStatus.BAD_REQUEST,