Skip to content

[AIBundle] fix missing endpoint for Meilisearch store #268

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

Merged
merged 1 commit into from
Aug 6, 2025

Conversation

Guikingone
Copy link
Contributor

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

Hi 👋🏻

A small fix for the meilisearch store, the endpoint was not sent, tests fixed.

@carsonbot carsonbot added Bug Something isn't working Status: Needs Review labels Aug 6, 2025
@OskarStark OskarStark changed the title [AIBundle]: fix missing endpoint for meilisearch store [AIBundle] fix missing endpoint for Meilisearch store Aug 6, 2025
@OskarStark OskarStark requested a review from Copilot August 6, 2025 12:01
Copy link

@Copilot 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 fixes a missing endpoint configuration for the Meilisearch store in the AI Bundle. The endpoint parameter was not being passed to the MeilisearchStore class constructor, causing configuration issues.

  • Adds required endpoint configuration option to the Meilisearch store configuration schema
  • Updates service definition to include endpoint parameter in constructor arguments
  • Adjusts argument positions for optional parameters to accommodate the new endpoint argument

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/ai-bundle/config/options.php Adds endpoint configuration option to Meilisearch store schema
src/ai-bundle/src/AiBundle.php Updates constructor arguments to include endpoint and reorders optional parameters
src/ai-bundle/tests/DependencyInjection/AiBundleTest.php Adds endpoint configuration to test setup

@OskarStark
Copy link
Contributor

Thank you @Guikingone.

@OskarStark OskarStark merged commit 8cb4528 into symfony:main Aug 6, 2025
7 checks passed
@Guikingone Guikingone deleted the fix/ai-bundle-meilisearch branch August 6, 2025 12:07
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.

3 participants