Skip to content

Commit 4e9abee

Browse files
committed
fix: zhipu embeddings build error
1 parent e910ef5 commit 4e9abee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/langchain-community/src/embeddings/zhipuai.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class ZhipuAIEmbeddings
4848
{
4949
modelName: ZhipuAIEmbeddingsParams["modelName"] = "embedding-2";
5050

51-
apiKey: string;
51+
apiKey?: string;
5252

5353
stripNewLines = true;
5454

0 commit comments

Comments
 (0)