# config.yaml
host:
  name: "{{ plugin_name|lower|replace(' ', '_')|replace('-', '_') }}"
  log_level: "INFO"

server:
  type: "streamable-http"   # "stdio" or "sse" or "streamable-http"
  #auth: "bearer" # this line is needed to enable bearer auth

# Logging configuration - controls all logging behavior
logging:
  level: "WARNING"  # Changed from INFO to WARNING for quieter default
  format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
  reset_handlers: true
  quiet_libraries: true

  # Specific logger overrides to silence noisy components
  loggers:
    # Your existing overrides
    "chuk_mcp_runtime.proxy": "WARNING"
    "chuk_mcp_runtime.proxy.manager": "WARNING"
    "chuk_mcp_runtime.proxy.tool_wrapper": "WARNING"
    "chuk_tool_processor.mcp.stream_manager": "WARNING"
    "chuk_tool_processor.mcp.register": "WARNING"
    "chuk_tool_processor.mcp.setup_stdio": "WARNING"
    "chuk_mcp_runtime.common.tool_naming": "WARNING"
    "chuk_mcp_runtime.common.openai_compatibility": "WARNING"

    # NEW: Add the noisy loggers you're seeing
    "chuk_sessions.session_manager": "ERROR"
    "chuk_mcp_runtime.session.native": "ERROR"
    "chuk_mcp_runtime.tools.artifacts": "ERROR"
    "chuk_mcp_runtime.tools.session": "ERROR"
    "chuk_artifacts.store": "ERROR"
    "chuk_mcp_runtime.entry": "WARNING"  # Keep some info but less chatty
    "chuk_mcp_runtime.server": "WARNING"  # Server start/stop messages

# optional overrides
sse:
  host: "0.0.0.0"
  port: 8000
  sse_path: "/sse"
  message_path: "/messages/"
  health_path: "/health"
  log_level: "info"
  access_log: true

streamable-http:
  host: "0.0.0.0"
  port: 8000
  mcp_path: "/mcp"
  stateless: true
  json_response: true
  health_path: "/health"
  log_level: "info"
  access_log: true

proxy:
  enabled: false
  namespace: "proxy"
  openai_compatible: false   # ← set to true if you want underscores

# Session tools (disabled by default - must enable explicitly)
session_tools:
  enabled: false  # Must explicitly enable

# Artifact storage (disabled by default - must enable explicitly)
artifacts:
  enabled: false  # Must explicitly enable
  storage_provider: "filesystem"
  session_provider: "memory"
