INNER CODE UNIT · Python

_package_version

omnirexflora-labs/omnicoreagent · src/omnicoreagent/serve/cli.py:22

def _package_version() -> str:
    try:
        return version("omnicoreagent")
    except PackageNotFoundError:
        return "0+unknown"


@dataclass
class LoadedAgentFile:
    """What an agent file defines: the agent, and optionally its own routes
    (``router`` or ``routers``) and the paths they serve without a token
    (``public_paths``)."""

    agent: Any
    routers: list[Any] = field(default_factory=list)
    public_paths: list[str] = field(default_factory=list)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…