[feat] add model names, claude 1.2 and 1.0

This commit is contained in:
kwaroran
2023-06-29 00:51:18 +09:00
parent 154eba5523
commit e6dc0dcb06
2 changed files with 28 additions and 8 deletions

View File

@@ -699,7 +699,9 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model'
},
headers: {
"Content-Type": "application/json",
"x-api-key": db.claudeAPIKey
"x-api-key": db.claudeAPIKey,
"anthropic-version": "2023-06-01",
"accept": "application/json"
}
})