"""Keiro — EB1 inference client and gateway.

Quick start::

    keiro setup                          # configure your API key
    from keiro import complete           # call the gateway
    print(complete("What is ML?"))

"""

__version__ = "0.1.0"


def complete(
    prompt: str,
    **kwargs: object,
) -> str:
    """Send a prompt to the Keiro gateway and return the response text.

    Delegates to :func:`keiro.client.complete`. See that function for the
    full parameter list (``model``, ``api_key``, ``base_url``, ``timeout``).
    """
    from keiro.client import complete as _complete

    return _complete(prompt, **kwargs)  # type: ignore[arg-type]


__all__ = ["complete", "__version__"]
