Skip to content

Bug: pyproject.toml repository URL points to langchain-ai/langchain instead of OpenGradient #2

Description

@golldyck

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

  1. 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
  2. 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 ()
  3. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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