"""
BAI Langfuse integration: tracing, callback, LLM generation logging.

설정은 환경 변수에서 읽습니다:
  LANGFUSE_ENABLED, LANGFUSE_PUBLIC_KEY, LANGFUSE_SECRET_KEY, LANGFUSE_HOST
  ENVIRONMENT (development 시 Langfuse 호스트에 대해 SSL 검증 비활성화)
  AGENT_TYPE (메타데이터용, 기본 "Core")
"""
from .tracing import (
    create_child_span,
    log_llm_generation,
    log_llm_generation_span,
    flush_langfuse,
    get_current_observation_id,
    get_usage_from_response,
)
from .callback import get_langfuse_callback, CaptureAIMessageCallback

__all__ = [
    "create_child_span",
    "log_llm_generation",
    "log_llm_generation_span",
    "flush_langfuse",
    "get_current_observation_id",
    "get_usage_from_response",
    "get_langfuse_callback",
    "CaptureAIMessageCallback",
]
