fix: include bearer authorization for minimax
This commit is contained in:
@@ -173,6 +173,7 @@ async function callAnthropic(systemText, userText, maxTokens = 800) {
|
||||
headers: {
|
||||
'content-type': 'application/json',
|
||||
'x-api-key': cfg.token,
|
||||
Authorization: `Bearer ${cfg.token}`,
|
||||
'anthropic-version': '2023-06-01'
|
||||
},
|
||||
body: JSON.stringify(payload),
|
||||
|
||||
Reference in New Issue
Block a user