mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-19 03:01:29 +00:00
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>
This commit is contained in:
parent
bfb27324cb
commit
13b89815a3
@ -56,7 +56,7 @@ class _MinimaxEndpointClient(BaseModel):
|
|||||||
class MinimaxCommon(BaseModel):
|
class MinimaxCommon(BaseModel):
|
||||||
"""Common parameters for Minimax large language models."""
|
"""Common parameters for Minimax large language models."""
|
||||||
|
|
||||||
_client: _MinimaxEndpointClient
|
_client: Any = None
|
||||||
model: str = "abab5.5-chat"
|
model: str = "abab5.5-chat"
|
||||||
"""Model name to use."""
|
"""Model name to use."""
|
||||||
max_tokens: int = 256
|
max_tokens: int = 256
|
||||||
|
Loading…
Reference in New Issue
Block a user