Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

Metaclass conflict error with LangChain 0.3.x #70

@minki-j

Description

@minki-j
  File "notdiamond/llms/client.py", line 539, in _ndllm_factory
    class _NDInvokerClient(_NDRouterClient, LLM):
TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

I ran into this error with langchain version of 0.3.x. I've tested with lower versions and confirmed that it worked fine.

Since I'm not using "create" but only "model_select", Not Diamond should work fine but this error prevents me from running the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions