190proof 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +0 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -31711,10 +31711,6 @@ async function callAnthropic(identifier, AiPayload, AiConfig) {
|
|
|
31711
31711
|
if ((AiConfig == null ? void 0 : AiConfig.service) === "bedrock") {
|
|
31712
31712
|
const AWS_REGION = "us-east-1";
|
|
31713
31713
|
const MODEL_ID = "anthropic.claude-3-haiku-20240307-v1:0";
|
|
31714
|
-
const AWS_ACCESS_KEY_ID = "AKIAZI2LICXWZC3QQ4O2";
|
|
31715
|
-
const AWS_SECRET_ACCESS_KEY = "76jdCL71cdJZ8QGM/vu93GMpxYYI9IhioUxHjE/l";
|
|
31716
|
-
process.env.AWS_ACCESS_KEY_ID = AWS_ACCESS_KEY_ID;
|
|
31717
|
-
process.env.AWS_SECRET_ACCESS_KEY = AWS_SECRET_ACCESS_KEY;
|
|
31718
31714
|
const client = new BedrockRuntimeClient({ region: AWS_REGION });
|
|
31719
31715
|
const payload = {
|
|
31720
31716
|
anthropic_version: "bedrock-2023-05-31",
|