fix: update MiniMax API endpoint from api.minimax.chat to api.minimax.io
The MiniMax API endpoint should be api.minimax.io, not api.minimax.chat. See: https://platform.minimax.io/docs/api-reference/text-anthropic-api Fixes #43
This commit is contained in:
@@ -8,7 +8,7 @@ class MiniMaxLLM(LLM):
|
||||
super().__init__(**kwargs)
|
||||
self.api_key = api_key
|
||||
self.model = model
|
||||
self.base_url = "https://api.minimax.chat/v1"
|
||||
self.base_url = "https://api.minimax.io/v1"
|
||||
|
||||
def _call(self, messages: List[Dict[str, str]], **kwargs) -> str:
|
||||
headers = {
|
||||
|
||||
Reference in New Issue
Block a user