fix: Use correct MiniMax API endpoint (api.minimax.io not api.minimax.chat)
This commit is contained in:
@@ -1724,7 +1724,7 @@ def _send_minimax(md_content: str, user_message: str, base_dir: str,
|
||||
raise ValueError("MiniMax API key not found in credentials.toml")
|
||||
|
||||
from openai import OpenAI
|
||||
client = OpenAI(api_key=api_key, base_url="https://api.minimax.chat/v1")
|
||||
client = OpenAI(api_key=api_key, base_url="https://api.minimax.io/v1")
|
||||
|
||||
with _minimax_history_lock:
|
||||
if discussion_history and not _minimax_history:
|
||||
|
||||
Reference in New Issue
Block a user