Compare commits
3 Commits
d1408b74b4
...
fix/minima
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
82645dfb3b | ||
| c17fa243a1 | |||
|
|
a55ed9cc04 |
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user