Spaces:
Runtime error
Runtime error
Download src/observability/context.py from avfranco/runner-ai-intelligence: direct link, hf CLI and curl.
- Browser
- Download file 256 Bytes
-
https://huggingface.co/spaces/avfranco/runner-ai-intelligence/resolve/main/src/observability/context.py
- Command line
-
hf download hf://spaces/avfranco/runner-ai-intelligence/src/observability/context.py
-
curl -L -o context.py https://huggingface.co/spaces/avfranco/runner-ai-intelligence/resolve/main/src/observability/context.py
256 Bytes
| from typing import Optional | |
| from .logger import get_trace_id | |
| def get_current_trace_id() -> Optional[str]: | |
| """ | |
| Get the current trace ID from the active context. | |
| Provides a clean interface for trace governance. | |
| """ | |
| return get_trace_id() | |