def get_runtime() -> Tuple[Framework, Runtime]:
    """
    Fetch the current Framework and Runtime details.

    Returns:
        Tuple[Framework, Runtime]: Framework and Runtime for the current app instance.

    """
    from importlib.metadata import version

    try:
        reader_version = version("llama-index-readers-pebblo")
    except Exception:
        reader_version = "unknown"
    framework = Framework(name="Llama Pebblo Reader", version=reader_version)
    uname = platform.uname()

    runtime = Runtime(
        host=uname.node,
        path=os.environ["PWD"],
        platform=platform.platform(),
        os=uname.system,
        os_version=uname.version,
        ip=get_ip(),
        language="unknown",
        language_version=platform.python_version(),
    )
    if "Darwin" in runtime.os:
        runtime.type = "desktop"
        runtime.runtime = "Mac OSX"

    logger.debug(f"framework {framework}")
    logger.debug(f"runtime {runtime}")
    return framework, runtime

    Fetch the current Framework and Runtime details.

    Returns:
        Tuple[Framework, Runtime]: Framework and Runtime for the current app instance.

    
llama-index-integrations/readers/llama-index-readers-pebblo/llama_index/readers/pebblo/utility.py