Skip to content

[BUG] Do not support langchain 1.0+ #272

@PerfectZQ

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions