Skip to content

Conversation

@keenborder786
Copy link
Contributor

@keenborder786 keenborder786 commented Dec 3, 2025

@github-actions github-actions bot added infra PRs made that include chores, devops, repo meta changes langchain `langchain` package issues & PRs and removed infra PRs made that include chores, devops, repo meta changes labels Dec 3, 2025
@github-actions github-actions bot added infra PRs made that include chores, devops, repo meta changes and removed infra PRs made that include chores, devops, repo meta changes labels Dec 3, 2025
@TBice123123
Copy link
Contributor

  1. There is no langchain-qwen. You probably mean langchain-qwq.
  2. langchain-qwq is better suited for use with ChatQwen, as it supports more models, whereas QWQ only supports the QWQ model.
  3. langchain-qwq is a third-party library with low update frequency, so it's not really suitable to be included in init_chat_model. The integrations in init_chat_model are generally officially maintained, and langchain-qwq is not one of them.

@keenborder786 keenborder786 changed the title chore(langchain): qwq support in _init_chat_model_helper chore(langchain): qwen support in _init_chat_model_helper Dec 4, 2025
@github-actions github-actions bot added infra PRs made that include chores, devops, repo meta changes and removed infra PRs made that include chores, devops, repo meta changes labels Dec 4, 2025
@keenborder786
Copy link
Contributor Author

@TBice123123
Copy link
Contributor

I wrote this content myself—how could I not know it? Look closely; isn't it langchain-qwq?

@TBice123123
Copy link
Contributor

First of all, I greatly appreciate your support for ChatQwen. I made the majority of the contributions to ChatQwen, while the original author @yigit353 primarily contributed to ChatQwQ. However, I believe that since ChatQwen was developed by a third party and is not officially maintained, it shouldn't be included in init_chat_model. Moreover, it lacks a JavaScript version, which would lead to inconsistencies between the two language implementations if it were included—a situation I think the official team would discourage.

@keenborder786
Copy link
Contributor Author

@TBice123123 okay, so what do you suggest, should we ask Langchain Team to officially support this package then?

@keenborder786
Copy link
Contributor Author

@ccurme any suggestions?

@keenborder786
Copy link
Contributor Author

@mdrxy any suggestion from you?

Copy link
Collaborator

@ccurme ccurme left a comment

Choose a reason for hiding this comment

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

LangChain maintainers don't maintain or have access to langchain-qwen, so I'd prefer not to add it here for now.

Let me know if this is blocking any usage, you should be able to run

from langchain_qwen import ChatQwQ

model = ChatQwQ(model=model, **kwargs)

and use this in create_agent or other places.

@ccurme ccurme closed this Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra PRs made that include chores, devops, repo meta changes langchain `langchain` package issues & PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for ChatQwen in init_chat_model()

3 participants