fix bedrock model empty bug

This commit is contained in:
Henry
2023-12-19 01:31:09 +00:00
parent a1fb5b8ef6
commit 7952ef8df5
3 changed files with 3 additions and 3 deletions
@@ -103,7 +103,7 @@ class AWSBedrockEmbedding_Embeddings implements INode {
const customModel = nodeData.inputs?.customModel as string
const obj: BedrockEmbeddingsParams = {
model: customModel ?? iModel,
model: customModel ? customModel : iModel,
region: iRegion
}