Skip to content

LMNT connector imports lmnt.api, which does not exist in lmnt 2.x #166

Description

@mark124

genblaze_lmnt/provider.py does from lmnt.api import Speech. The current lmnt package (2.13.0) has no lmnt.api module, that is the pre-2.0 layout. Installing lmnt today and calling the LMNT provider fails inside generate():

ModuleNotFoundError: No module named 'lmnt.api'

The 2.x SDK surface is:

from lmnt import Lmnt
client.speech.generate(text=..., voice=..., language=..., model="blizzard", format="mp3")  # returns bytes via .read()
client.voices.create(file=..., name=...)  # cloning

This is a concrete instance of the dependency upper-bound issue in #61: the shipped connector code and the installable package disagree, so a fresh pip install genblaze-lmnt cannot run.

Suggested fix: pin lmnt<2 in the connector dependencies, or port the adapter to the 2.x surface. The port is small and it unlocks the current SDK's cloning and language enums.

Environment: genblaze-lmnt 0.3.0, lmnt 2.13.0, Python 3.14.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions