Skip to content

rename langchain BaseMessage #243

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

amanjaiswal73892
Copy link
Collaborator

@amanjaiswal73892 amanjaiswal73892 commented Apr 30, 2025

Renamed Langchain BaseMessage to avoid confusion with the internal BaseMessage class.

Description by Korbit AI

What change is being made?

Rename BaseMessage to LangchainBaseMessage in the llm_utils.py module.

Why are these changes being made?

These changes address a naming conflict by aliasing BaseMessage to LangchainBaseMessage, thereby clarifying the source of this class and avoiding potential confusion with other BaseMessage classes that might exist in the codebase. This change improves code readability and maintainability.

Is this description stale? Ask me to generate a new description by commenting /korbit-generate-pr-description

@amanjaiswal73892 amanjaiswal73892 requested a review from TLSDC April 30, 2025 23:15
Copy link

@korbit-ai korbit-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've completed my review and didn't find any issues... but I did find this chicken.

  \\
   (o>
  <_ )
   ^^
Files scanned
File Path Reviewed
src/agentlab/llm/llm_utils.py

Explore our documentation to understand the languages and file types we support and the files we ignore.

Check out our docs on how you can make Korbit work best for you and your team.

Loving Korbit!? Share us on LinkedIn Reddit and X

@amanjaiswal73892 amanjaiswal73892 linked an issue Apr 30, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rename BaseMessage from langchain
1 participant