Skip to content

buildRejectionMessage

buildRejectionMessage(options): string

Defined in: _worktrees/docs-release/gaunt-sloth/packages/core/src/core/shell/rejection.ts:77

Build the rejection message handed back to the model as the refused call’s tool result.

§7 shape, each part omitted when it does not apply:

  1. who refused what;
  2. the rater’s explanation, when a rating exists;
  3. the moves — always.

RejectionMessageOptions

string