Spaces:
Sleeping
Sleeping
File size: 536 Bytes
a4fcb76 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | # src/first_agent/__init__.py
"""
first_agent package.
Public API surface:
- GradioUI: UI wrapper to launch agent in Gradio
"""
from __future__ import annotations
from importlib.metadata import PackageNotFoundError, version
try:
__version__ = version("first_agent")
except PackageNotFoundError:
# When running from source without installation
__version__ = "0.0.0"
# Keep imports lightweight: only re-export core public objects.
from .ui import GradioUI # noqa: E402
__all__ = [
"GradioUI",
"__version__",
]
|