Skip to content

Conversation

@ivicac
Copy link
Contributor

@ivicac ivicac commented Dec 23, 2025

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the Caffeine-based caching mechanism from PineconeConstants, simplifying the vector store initialization logic. The refactoring aligns Pinecone's implementation with other vector store components in the codebase that don't use caching.

  • Removes Caffeine cache dependency and associated caching logic
  • Simplifies VECTOR_STORE lambda to directly create PineconeVectorStore instances
  • Cleans up unused imports (Caffeine, TimeUnit)

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
PineconeConstants.java Removed Caffeine cache wrapper and simplified VECTOR_STORE implementation to directly instantiate PineconeVectorStore without caching
build.gradle.kts Removed Caffeine dependency that is no longer needed after cache removal

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link

@ivicac ivicac merged commit 618be39 into master Dec 23, 2025
10 of 11 checks passed
@ivicac ivicac deleted the 1652 branch December 23, 2025 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants