fix(core): Generate title once there's enough user context (no-changelog) (backport to release-candidate/2.18.x)#28789
Conversation
(cherry picked from commit 2d624a5)
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
Bundle ReportBundle size has no change ✅ |
Instance AI Workflow Eval Results8/8 built | 13/27 passed (48%)
Failure detailspartial-action-failure [builder_issue]
multi-team-creator [builder_issue]
api-error [builder_issue]
channel-not-found [builder_issue]
insufficient-permissions [builder_issue]
happy-path [builder_issue]
no-bugs [builder_issue]
high-priority [builder_issue]
medium-priority [builder_issue]
low-priority [builder_issue]
happy-path [{"results":[{"id":1,"pass":true,"reasoning":"The workflow executed without errors. All nodes ran successfully. The Split Posts node split the 10 posts, the Filter node removed the 3 posts with 'qui' in the title (ids 1, 5, 9: 'qui est esse', 'nesciunt quid non qui', 'qui dolorem eum facere eos'). The Build Summary Message node produced a message stating '7 posts remain' and lists 7 titles, none of which contain 'qui'. The Slack node posted to the 'api-digest' channel successfully."}]}]
empty-response [builder_issue]
all-filtered [builder_issue]
happy-path [builder_issue]
|
Performance ComparisonComparing current → latest master → 14-day baseline Idle baseline with Instance AI module loaded
docker-stats
Memory consumption baseline with starter plan resources
How to read this table
|
|
Got released with |
Description
Backport of #28721 to
release-candidate/2.18.x.Checklist for the author (@Cadiac) to go through.
After this PR has been merged, it will be picked up in the next patch release for release track.
Original description
Summary
Makes us generate the title only after we have a bit of context - so if user sends message "hey", the title isn't immediately generated, but then on the second message once a bit of user context exists the title generation happens.
This should make the titles a bit more accurate, and we can later tune what is considered a trivial message.
Related Linear tickets, Github issues, and Community forum posts
Review / Merge checklist
Backport to Beta,Backport to Stable, orBackport to v1(if the PR is an urgent fix that needs to be backported)