AlexTrinityBlock's picture
fix(config): update MiniMax model identifier to MiniMax-M2.5-highspeed
4ad0ce1
raw
history blame
371 Bytes
# from langchain_google_genai import ChatGoogleGenerativeAI
from langchain_community.chat_models import MiniMaxChat
_llm = None
def get_llm():
"""Return a shared LLM instance."""
global _llm
if _llm is None:
# _llm = ChatGoogleGenerativeAI(model="gemini-3-flash-preview")
_llm = MiniMaxChat(model="MiniMax-M2.5-highspeed")
return _llm