Skip to content

Commit

Permalink
fix apiKey not found
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyu committed Dec 19, 2024
1 parent d6e2a23 commit 7d389a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class JinaAIEmbedding_Embeddings implements INode {
const credentialData = await getCredentialData(nodeData.credential ?? '', options)
const apiKey = getCredentialParam('jinaAIAPIKey', credentialData, nodeData)

const obj: JinaEmbeddingsParams = {
const obj = {
apiKey: apiKey,
model: modelName
}
Expand Down

0 comments on commit 7d389a6

Please sign in to comment.