Add Bedrock global and jp inference profile support. (#6666)
* Add Bedrock global and jp inference profile support. * Update package-lock.json after merging latest main Regenerated package-lock.json to reflect the latest dependency changes from the merged main branch updates. * Revert "Update package-lock.json after merging latest main" This reverts commit 2fa79acd383bd0e3b589a7137974f3ce2d295316.
This commit is contained in:
1 parent
9f25f8ae42
commit
1eaeb1812d
12 files changed
+169
-85
No files matched your search
@@ -168,6 +168,17 @@ export const BedrockProvider = ({ showModelOptions, isPopup, currentMode }: Bedr
|
||||
Use cross-region inference
|
||||
</VSCodeCheckbox>
|
||||
|
||||
{apiConfiguration?.awsUseCrossRegionInference && selectedModelInfo.supportsGlobalEndpoint && (
|
||||
<VSCodeCheckbox
|
||||
checked={apiConfiguration?.awsUseGlobalInference || false}
|
||||
onChange={(e: any) => {
|
||||
const isChecked = e.target.checked === true
|
||||
handleFieldChange("awsUseGlobalInference", isChecked)
|
||||
}}>
|
||||
Use global inference profile
|
||||
</VSCodeCheckbox>
|
||||
)}
|
||||
|
||||
{selectedModelInfo.supportsPromptCache && (
|
||||
<VSCodeCheckbox
|
||||
checked={apiConfiguration?.awsBedrockUsePromptCache || false}
|
||||
|
||||
Reference in new issue
Block a user