fix(logging): reorder logging configuration for suppressing warnings

This commit is contained in:
X-iZhang
2026-02-27 18:41:37 +00:00
parent 3f42259441
commit 1130ddd8e9
+3 -3
View File
@@ -22,14 +22,14 @@ import logging
from datetime import datetime
from pathlib import Path
# Suppress noisy warnings from deepagents skill loader (non-string frontmatter fields, etc.)
logging.getLogger("deepagents.middleware.skills").setLevel(logging.ERROR)
from .config import get_effective_config, apply_config_to_env
from .prompts import RESEARCHER_INSTRUCTIONS, get_system_prompt
from . import paths as _paths_mod
from .paths import set_active_workspace, set_workspace_root
# Suppress noisy warnings from deepagents skill loader (non-string frontmatter fields, etc.)
logging.getLogger("deepagents.middleware.skills").setLevel(logging.ERROR)
# =============================================================================
# Constants
# =============================================================================