remove duplicated config building with ApiKey
This commit is contained in:
@@ -324,7 +324,6 @@ public class PineconeVectorStore extends AbstractObservationVectorStore {
|
||||
this.clientConfig = new PineconeClientConfig().withApiKey(builder.apiKey)
|
||||
.withEnvironment(builder.environment)
|
||||
.withProjectName(builder.projectId)
|
||||
.withApiKey(builder.apiKey)
|
||||
.withServerSideTimeoutSec((int) builder.serverSideTimeout.toSeconds());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user