Skip to content

fix: remove stale substitution in detection workflow #97

Merged
lipikaramaswamy merged 1 commit into
mainfrom
lipikaramaswamy/fix/prompt-substitution-fix
Apr 7, 2026
Merged

fix: remove stale substitution in detection workflow #97
lipikaramaswamy merged 1 commit into
mainfrom
lipikaramaswamy/fix/prompt-substitution-fix

Conversation

@lipikaramaswamy
Copy link
Copy Markdown
Collaborator

Summary

Fixes a stale prompt placeholder substitution in detection augmentation. _get_augment_prompt() was still passing <<TAG_NOTATION>> into substitute_placeholders() after that placeholder had already been pre-substituted inside the example block, which caused noisy warning logs in every run.

Testing

  • Re-ran the e2e flow and confirmed the warning no longer appears.
  • Verified augmentation still runs normally and _augmented_entities completes successfully.

@lipikaramaswamy lipikaramaswamy requested a review from a team as a code owner April 7, 2026 18:49
@lipikaramaswamy lipikaramaswamy merged commit df75e1d into main Apr 7, 2026
11 checks passed
@lipikaramaswamy lipikaramaswamy deleted the lipikaramaswamy/fix/prompt-substitution-fix branch April 7, 2026 18:50
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.

2 participants