Skip to content

[AIBundle] Cache store configuration improved #293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Guikingone
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
Docs? yes
Issues #257
License MIT

Hi 👋🏻

The configuration wasn't complete enough to handle custom strategy / key for the cache store, here's the fix, tests are validated (both in the project and in a custom project too).

@Guikingone Guikingone requested a review from chr-hertel August 11, 2025 07:10
Comment on lines +36 to +38
if (!interface_exists(CacheInterface::class)) {
throw new RuntimeException('For using the CacheStore as vector store, a symfony/contracts cache implementation is required. Try running "composer require symfony/cache" or another symfony/contracts compatible cache.');
}
Copy link
Member

Choose a reason for hiding this comment

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

Why is that check needed as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Status: Reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants