-
[OPIK-6310] [BE] feat: auto-generate blueprint descriptions from config changes (#6554)
发布于
2026-04-30 09:45:22 +00:00 - [OPIK-6310] [BE] feat: auto-generate blueprint descriptions from config changes
When no description is provided on create/update, generate one by diffing
the new values against the previous blueprint: added keys ("Added key1,
key2"), modified keys ("Modified key3" for strings, "Modified key3 to val"
for INTEGER/FLOAT), and removed keys ("Removed key4"). Sections are
combined with ". " when multiple apply.Adds integration tests covering each change type individually, all three
combined in a single update, and verifying that an explicit description
always overrides auto-generation. Numeric types (FLOAT/INTEGER) and
non-numeric types are covered via parameterized tests.Implements OPIK-6310: [Bug] Auto-generated summaries for new config versions not working
-
add boolean
-
ensure description does not go over 255 chars
-
fix(agent-config): address review comments
- Use StringUtils.isBlank + explicit BLUEPRINT type check
- Rename isNumeric to isPrimitive for accuracy
- Use StringBuilder in generateUpdateDescription
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
- test(agent-config): extract createInitialBlueprint helper to reduce duplication
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
- test(agent-config): merge modifies tests into single parameterized test
Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Co-authored-by: Claude Sonnet 4.6 noreply@anthropic.com
下载附件