summary
codebolt.agentDeliberation.summary(params: ISummaryParams): Promise<ISummaryResponse>
Adds a summary to a deliberation, typically after completion.
Parameters
params(ISummaryParams): Parameters including deliberation ID, summary text, and author info.
Returns
Promise<ISummaryResponse>: A promise that resolves to the updated deliberation with summary.
Examples
await codebolt.agentDeliberation.summary({
deliberationId: 'delib-123',
summary: 'The team voted to adopt PostgreSQL for the new project...',
authorId: 'facilitator',
authorName: 'Facilitator Agent'
});
Notes
- Summaries provide closure to deliberations
- Can include decision rationale and outcomes
- Useful for documentation and future reference