ai-station/.venv/lib/python3.12/site-packages/opentelemetry/instrumentation/anthropic/config.py

14 lines
369 B
Python
Raw Permalink Normal View History

from typing import Callable, Optional
from typing_extensions import Coroutine
class Config:
enrich_token_usage = False
exception_logger = None
get_common_metrics_attributes: Callable[[], dict] = lambda: {}
upload_base64_image: Optional[
Callable[[str, str, str, str], Coroutine[None, None, str]]
] = None
use_legacy_attributes = True