Issue: fix the issue #11648 init minimax llm (#12554)

e https://github.com/langchain-ai/langchain/issues/11648 Minimax
llm failed to initialize

The idea of this fix is
https://github.com/langchain-ai/langchain/issues/10917#issuecomment-1765606725

do not use  underscore in python model class

---------

Co-authored-by: zhuojianming@cmcm.com <zhuojianming@cmcm.com>
Co-authored-by: Bagatur <baskaryan@gmail.com>
pull/12537/head^2
Jeff Zhuo 9 months ago committed by GitHub
parent bfb27324cb
commit 13b89815a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -56,7 +56,7 @@ class _MinimaxEndpointClient(BaseModel):
class MinimaxCommon(BaseModel):
"""Common parameters for Minimax large language models."""
_client: _MinimaxEndpointClient
_client: Any = None
model: str = "abab5.5-chat"
"""Model name to use."""
max_tokens: int = 256

Loading…
Cancel
Save