-
-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Labels
AI BundleIssues & PRs about the AI integration bundleIssues & PRs about the AI integration bundleBugSomething isn't workingSomething isn't workingStatus: Needs Review
Description
When configuring a Qdrant store under ai.store.qdrant, optional parameters (dimensions, distance, async) are conditionally added to the service arguments.
If some options like dimensions and distance are not defined but async is present (or defaults to false), the container generates a sparse argument array, for example:
[0 => ..., 1 => ..., 2 => ..., 3 => ..., 6 => false]
This results in a container compilation error:
"Invalid constructor argument X: argument Y must be defined before."
Expected behavior: the service should compile without errors even when optional parameters are omitted.
Steps to reproduce:
- Configure a Qdrant store with
endpoint,api_key, andcollection_name, but leave outdimensionsanddistance. - Run
bin/console cache:clear.
Minimal reproducer: configure any Qdrant store with only required options as above.
Metadata
Metadata
Assignees
Labels
AI BundleIssues & PRs about the AI integration bundleIssues & PRs about the AI integration bundleBugSomething isn't workingSomething isn't workingStatus: Needs Review