Skip to content

Commit

Permalink
Issue: fix the issue langchain-ai#11648 init minimax llm (langchain-a…
Browse files Browse the repository at this point in the history
…i#12554)

e langchain-ai#11648 Minimax
llm failed to initialize

The idea of this fix is
langchain-ai#10917 (comment)

do not use  underscore in python model class

---------

Co-authored-by: [email protected] <[email protected]>
Co-authored-by: Bagatur <[email protected]>
  • Loading branch information
3 people authored and xieqihui committed Nov 21, 2023
1 parent d1410de commit 7f05ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/langchain/langchain/llms/minimax.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def post(self, request: Any) -> Any:
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
Expand Down

0 comments on commit 7f05ccf

Please sign in to comment.