Skip to content

Validate plugin configuration before initialization & improve fatal registration error check #21

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 16 commits into
base: main
Choose a base branch
from

Conversation

jeangovil
Copy link
Member

@jeangovil jeangovil commented Apr 11, 2025

This PR includes:

  • Early validation of plugin configuration against their schema before initialization.
  • Fatal plugin registration error checks for vectorizer, reranker, and generative plugins.
  • Plugin config/argument schema fixes and refactors to infer types from Zod schemas.

@jeangovil jeangovil changed the title WIP: Validate plugin configuration before initialization Validate plugin configuration before initialization Apr 11, 2025
@jeangovil jeangovil force-pushed the plugin-config-validation branch from e0aeb08 to 5e3f5fa Compare April 11, 2025 11:14
@jeangovil jeangovil changed the title Validate plugin configuration before initialization Validate plugin configuration before initialization & improve fatal registration error check Apr 11, 2025
@jeangovil jeangovil requested a review from krksgbr April 21, 2025 13:30
@jeangovil jeangovil marked this pull request as ready for review April 21, 2025 13:30
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.

1 participant