def build_user_agent(octavia_version: str, workspace_id: str) -> str:
    """Build user-agent for the API client according to octavia version and workspace id.

    Args:
        octavia_version (str): Current octavia version.
        workspace_id (str): Current workspace id.

    Returns:
        str: the user-agent string.
    """
    return f"octavia-cli/{octavia_version}/{workspace_id}"