Skip to content

refactor: ➖ Remove nemoguardrails from adapter dependencies#54

Merged
evaline-ju merged 3 commits intokagenti:mainfrom
evaline-ju:dep-refactor
Mar 5, 2026
Merged

refactor: ➖ Remove nemoguardrails from adapter dependencies#54
evaline-ju merged 3 commits intokagenti:mainfrom
evaline-ju:dep-refactor

Conversation

@evaline-ju
Copy link
Copy Markdown
Contributor

Summary

Neither the nemocheck plugins nor the adapter itself requires nemoguardrails. The only plugin example currently that uses it is the nemo example, so the requirement has been moved to that particular example.

An attempt to create some flexibility with example plugin requirements has been added to and tested with the Dockerfile but it can be subject to error, as any plugin brought in can have requirements organized differently.

Related issue(s)

Fixes #48

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>
Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>
Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>
@evaline-ju evaline-ju changed the title refactor: :heavy-minus-sign: Remove nemoguardrails from adapter dependencies refactor: ➖ Remove nemoguardrails from adapter dependencies Mar 4, 2026
@evaline-ju evaline-ju merged commit 0031faa into kagenti:main Mar 5, 2026
3 checks passed
@evaline-ju evaline-ju deleted the dep-refactor branch March 5, 2026 21:23
julianstephen added a commit that referenced this pull request Mar 5, 2026
* ♻️ Move nemoguardrails requirement to nemo plugin

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>

* 👷 Updated sh scripting

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>

* 💡 Update Dockerfile comments

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>

---------

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>
Signed-off-by: julianstephen <julian.stephen@gmail.com>
julianstephen added a commit that referenced this pull request Mar 5, 2026
* ♻️ Move nemoguardrails requirement to nemo plugin

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>

* 👷 Updated sh scripting

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>

* 💡 Update Dockerfile comments

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>

---------

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>
Signed-off-by: julianstephen <julian.stephen@gmail.com>
julianstephen added a commit that referenced this pull request Mar 6, 2026
* ♻️ Move nemoguardrails requirement to nemo plugin

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>

* 👷 Updated sh scripting

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>

* 💡 Update Dockerfile comments

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>

---------

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>
Signed-off-by: julianstephen <julian.stephen@gmail.com>
julianstephen added a commit that referenced this pull request Mar 6, 2026
* ♻️ Move nemoguardrails requirement to nemo plugin

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>

* 👷 Updated sh scripting

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>

* 💡 Update Dockerfile comments

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>

---------

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>
Signed-off-by: julianstephen <julian.stephen@gmail.com>
julianstephen added a commit that referenced this pull request Mar 6, 2026
…rts and dependencies (#58)

* updated from cf to cpex dependency and changed plugin manager APIs accordingly (#29)
* adapted to work with cpex instead of contextforge
* refactor: ➖ Remove nemoguardrails from adapter dependencies (#54)
* ♻️ Move nemoguardrails requirement to nemo plugin
* 👷 Updated sh scripting
* 💡 Update Dockerfile comments
* added linting deps to dev
* updating build to include plugins build with .toml files replacing requirements.txt
* precommit ruff formatting
* remove straggling dependencies and add cpex dep to plugins
* updating tests to use cpex
* missing model config

---------
Co-authored-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>
Co-authored-by: julianstephen <julian.stephen@gmail.com>

Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>
Signed-off-by: julianstephen <julian.stephen@gmail.com>
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.

feature: Move nemoguardrails from adapter requirements

2 participants