Skip to content

[BUG] Do not support langchain 1.0+ #272

Open

Description

@PerfectZQ

📋 CheckList

  • I have searched existing issues to avoid duplicates
  • I am using a recently maintained version of Coze Loop
  • I have provided all required information
  • I understand this is a bug report and not a feature request
  • I have submitted this report in English (otherwise it will not be processed)

🐛 Bug Description

File "/home/xxx/PycharmProjects/xxx/.venv/lib/python3.12/site-packages/cozeloop/integration/langchain/trace_callback.py", line 12, in
from langchain.callbacks.base import BaseCallbackHandler
ModuleNotFoundError: No module named 'langchain.callbacks'

🔄 Steps to Reproduce

uv sync --upgrade, and execute

✅ Expected Behavior

support langchain1.0+

❌ Actual Behavior

do not support

🚨 Severity

None

🔧 Component

None

💻 Environment

No response

🔧 Go Environment

No response

📋 Logs

📝 Additional Context

No response

Activity

  1. lsy357 commented on Oct 30, 2025

    @lsy357
    Collaborator

    @JqRrt Please take a look at this issue.

  2. JqRrt commented on Oct 30, 2025

    @JqRrt
    Collaborator

    @PerfectZQ LangChain V1 and V0 are incompatible upgrades. V1 is the recently released official version, and we will support the V1 version in the near future, which is already in the plan.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions