Skip to content

Conversation

@mdrxy
Copy link
Member

@mdrxy mdrxy commented Nov 4, 2025

The following modules, which have been marked for removal, have been deleted. Consequently, any attempt to import these from langchain-classic (which re-exports from langchain-community) will break.

  • ChatAnthropic (change import to langchain_anthropic.ChatAnthropic)
  • AzureChatOpenAI (change import to langchain_openai.AzureChatOpenAI)
  • BedrockChat (change import to langchain_aws.ChatBedrock)
  • ChatCohere (change import to langchain_cohere.ChatCohere)
  • ChatDatabricks (change import to databricks_langchain.ChatDatabricks)
  • ChatFireworks (change import to langchain_fireworks.ChatFireworks)
  • GigaChat (change import to langchain_gigachat.GigaChat)
  • ChatHuggingFace (change import to langchain_huggingface.ChatHuggingFace)
  • ChatLiteLLM (change import to langchain_litellm.ChatLiteLLM)
  • ChatLiteLLMRouter (change import to langchain_litellm.ChatLiteLLMRouter)
  • ChatOllama (change import to langchain_ollama.ChatOllama)
  • ChatOpenAI* (change import to langchain_openai.ChatOpenAI)
  • ChatPerplexity (change import to langchain_perplexity.ChatPerplexity)
  • ChatSambaNovaCloud (change import to langchain_sambanova.ChatSambaNovaCloud)
  • ChatSambaStudio (change import to langchain_sambanova.ChatSambaStudio)
  • SolarChat (change import to langchain_upstage.ChatUpstage)
  • ChatVertexAI (change import to langchain_google_vertexai.ChatVertexAI)
    *ChatOpenAI is kept in this package for now, as many other community chat models inherit from it. It has been removed from __all__ and should not be used. It will be removed at a later date once the other packages can be reconciled.

For any classes that previously imported private methods or utilities from the files containing these classes, those functions have been duplicated into the importing files.

@mdrxy mdrxy changed the base branch from main to mdrxy/scratch November 4, 2025 19:08
@mdrxy mdrxy marked this pull request as ready for review November 4, 2025 20:54
@mdrxy mdrxy merged commit a256cdc into mdrxy/scratch Nov 4, 2025
9 checks passed
@mdrxy mdrxy deleted the mdrxy/remove-chat-models branch November 4, 2025 22:11
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.

2 participants