Update default values of minimax_api_host and model in MiniMaxChat __init__ #29278
Open
5 tasks done
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
Checked other resources
Example Code
The following code:
Error Message and Stack Trace (if applicable)
Description
MiniMaxChat
using default settingsminimax_api_host
ishttps://api.minimax.chat/v1/text/chatcompletion_v2
, whereas it should behttps://api.minimaxi.chat/v1/text/chatcompletion_v2
(note thei
->minimax
->minimaxi
)model
isabab6.5-chat
, whereas it should beabab6.5s-chat
(note thes
)choices
key is not present in itMiniMaxChat(api_key=api_key, model="abab6.5s-chat", minimax_api_host="https://api.minimaxi.chat/v1/text/chatcompletion_v2")
yields successful resultKeyError
was raised - but that is for another issue probably.System Info
python -m langchain_core.sys_info
yields:The text was updated successfully, but these errors were encountered: