Skip to main content

truncationNotice

@forge/monorepo


@forge/monorepo / backend/src / truncationNotice

Function: truncationNotice()

truncationNotice(outcome): string

Defined in: backend/src/skills/catalogue.ts:64

What the model is told when the catalogue was shortened.

Names the skills rather than counting them, for the same reason the run event does: "3 more skills exist" is something a model can only ignore, while a name is something it can ask for. Empty string when nothing was dropped, so a caller can concatenate unconditionally.

Parameters

outcome

BudgetOutcome<SkillCatalogEntry>

Returns

string