A little bit confusing behavior on multi-atomic configs request #1870
Closed
AirAgentSDE
started this conversation in
General
Replies: 1 comment
|
Oh, sorry, I was mislead by my agent, I 've see |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In
nemoguardrails/rails/llm/config.py, line 1950 to 1956:This code leads to an unexpected behavior when reloading default task prompts (such as general or generate_user_intent). If a configuration is designed to override these defaults, it only takes effect if it is placed second in the config_ids field. If the "reloading" config appears first, it gets overwritten by the default settings.
I would expect multiple configs to be atomic and non-overlapping, making the combination placement-agnostic. However, if overlaps do need to be handled, the merging behavior should be intuitive and predictable—following a strict sequence where either the first or the last configuration takes priority.
All reactions