Review the extensions guide first.
- Create the filter module:
- Provider API filters:
apis/src/<provider>/ - Cross-provider filters:
filters/src/<category>/
- Provider API filters:
- Implement
HttpFilter(frompraxis-filter). Add afrom_configfactory that deserializes aserde_yaml::Valueinto your config struct. - Register it in
praxis_ai_filters::register_ai_filters(infilters/src/register.rs). - Add unit tests and doctests.
- Add an example config in the appropriate category
under
examples/configs/. - Add a functional integration test in
tests/integration/tests/suite/. - Update
examples/README.mdto list any new or renamed example configs.
All testing requirements from CONTRIBUTING.md apply. A feature without tests and an example is not complete.