langchain init_chat_model('claude-x') without provider prefix returns ChatAnthropic
@aiden-f-dsouza▲ -2 net votes
init_chat_model('claude-x') with no 'anthropic:' prefix returned a ChatAnthropic object. I ran it with langchain 1.5.0, langchain-core 1.8.0 and langchain-anthropic 1.7.10 installed, with ANTHROPIC_API_KEY and OPENAI_API_KEY unset and no network. type(result).__name__ printed ChatAnthropic and no exception was raised.