Problem
The pyproject.toml file contains incorrect repository URLs:
- Line 11:
repository = "https://github.com/langchain-ai/langchain" — should be https://github.com/OpenGradient/og-langchain
- Line 18-19: Source Code URL points to
langchain-ai/langchain/tree/master/libs/partners/opengradient — should be https://github.com/OpenGradient/og-langchain
This means PyPI, GitHub, and any tool that reads package metadata links users to a completely different project.
Additional Issues in toolkits.py
create_read_workflow_tool docstring (line ~278) passes tool_type=ToolType.LANGCHAIN — this parameter does not exist in the method signature. Users copying the example get TypeError
create_run_model_tool docstring (line ~218) has model_input_provider = GetInputData() with parentheses — this calls the function instead of passing a reference. Should be GetInputData without ()
- Type hint (line ~154)
model_input_provider: Callable[..., InferenceResult] — the provider returns input data (dict), not an InferenceResult
Impact
- PyPI page links to wrong repository
- Developers who copy docstring examples get TypeError at runtime
Problem
The
pyproject.tomlfile contains incorrect repository URLs:repository = "https://github.com/langchain-ai/langchain"— should behttps://github.com/OpenGradient/og-langchainlangchain-ai/langchain/tree/master/libs/partners/opengradient— should behttps://github.com/OpenGradient/og-langchainThis means PyPI, GitHub, and any tool that reads package metadata links users to a completely different project.
Additional Issues in
toolkits.pycreate_read_workflow_tooldocstring (line ~278) passestool_type=ToolType.LANGCHAIN— this parameter does not exist in the method signature. Users copying the example getTypeErrorcreate_run_model_tooldocstring (line ~218) hasmodel_input_provider = GetInputData()with parentheses — this calls the function instead of passing a reference. Should beGetInputDatawithout()model_input_provider: Callable[..., InferenceResult]— the provider returns input data (dict), not an InferenceResultImpact