Compare commits

...

5 Commits

View File

@@ -21,7 +21,7 @@ class MiniMaxLLM:
}
with httpx.Client(timeout=60.0) as client:
response = client.post(
f"{self.base_url}/chat/completions",
f"{self.base_url}/text/chatcompletion_v2",
headers=headers,
json=payload,
)
@@ -33,7 +33,7 @@ class MiniMaxLLM:
class MiniMaxConnector:
def __init__(self, api_key: str, model: str = "MiniMax-Text-01"):
def __init__(self, api_key: str, model: str = "MiniMax-M2.7"):
self.api_key = api_key
self.model = model