Skip to content

Commit 7780411

Browse files
authored
remove duplicated config building with ApiKey
1 parent fa3eea4 commit 7780411

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

vector-stores/spring-ai-pinecone-store/src/main/java/org/springframework/ai/vectorstore/PineconeVectorStore.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ public PineconeVectorStoreConfig(Builder builder) {
324324
this.clientConfig = new PineconeClientConfig().withApiKey(builder.apiKey)
325325
.withEnvironment(builder.environment)
326326
.withProjectName(builder.projectId)
327-
.withApiKey(builder.apiKey)
328327
.withServerSideTimeoutSec((int) builder.serverSideTimeout.toSeconds());
329328
}
330329

0 commit comments

Comments
 (0)