关于MiniMax Coding Plan报错invalid params, invalid chat setting (2013)

经过多次测试,发现当多个role相同时就会报这个错误,例如:

curl -X POST "https://api.minimaxi.com/v1/chat/completions" 
-H "Authorization: Bearer xxxxxxxxx" 
-H "Content-Type: application/json" 
-d '{"model":"MiniMax-M2.5","messages":[{"role":"system","content":"You are a helpful assistant."},{"role":"system","content":"Today is 2026-03-03."},{"role":"user","content":"hello"}]}'

经过分析alma的的请求,发现有两个system role

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
💡

Feature Request

Date

3 days ago

Author

野草

Subscribe to post

Get notified by email when there are changes.