File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515
1616
1717# --- Bedrock setup ---
18- REGION = os .environ .get ("AWS_REGION" , "eu-west-2 " )
19- MODEL_ID = os .environ .get ("MODEL_ID" , "moonshotai.kimi-k2.5 " )
18+ REGION = os .environ .get ("AWS_REGION" , "eu-west-1 " )
19+ MODEL_ID = os .environ .get ("MODEL_ID" , "global.amazon.nova-2-lite-v1:0 " )
2020
2121bedrock = boto3 .client ("bedrock-runtime" , region_name = REGION )
2222
Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ import { createAmazonBedrock } from "@ai-sdk/amazon-bedrock";
1717import { fromNodeProviderChain } from "@aws-sdk/credential-providers" ;
1818
1919// --- Bedrock setup ---
20- const REGION = process . env . AWS_REGION ?? "eu-west-2 " ;
20+ const REGION = process . env . AWS_REGION ?? "eu-west-1 " ;
2121
2222const bedrock = createAmazonBedrock ( {
2323 credentialProvider : fromNodeProviderChain ( ) ,
2424 region : REGION ,
2525} ) ;
2626
27- const MODEL_ID = process . env . MODEL_ID ?? "moonshotai.kimi-k2.5 " ;
27+ const MODEL_ID = process . env . MODEL_ID ?? "global.amazon.nova-2-lite-v1:0 " ;
2828const model = bedrock ( MODEL_ID ) ;
2929
3030// --- Zapcode setup ---
You can’t perform that action at this time.
0 commit comments