Skip to content

Broken on Python 3.14 due to upstream replicate library #26

@dannyob

Description

@dannyob

The plugin fails to load on Python 3.14 because its dependency replicate uses Pydantic's V1 compatibility layer, which doesn't support Python 3.14+.

File "llm_replicate/__init__.py", line 4, in <module>
    import replicate
  ...

pydantic.v1.errors.ConfigError: unable to infer type for attribute "previous"

This breaks all of llm since it crashes during plugin loading before any commands can run.
Upstream issue: replicate/replicate-python#452

Not much to do here until that's fixed, but documenting for visibility.

If you've installed llm using homebrew on MacOS, you can get llm back in working order with something like:

/opt/homebrew/Cellar/llm/0.28/libexec/bin/python -mpip uninstall llm-replicate replicate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions