addAppreciation
codebolt.agentPortfolio.addAppreciation(toAgentId: string, message: string): Promise<AddAppreciationResponse>
Adds an appreciation message for an agent. Appreciations are short messages of gratitude or recognition.
Parameters
toAgentId(string): The ID of the agent receiving appreciation.message(string): The appreciation message.
Returns
Promise<[AddAppreciationResponse](/docs/reference/type-reference/codeboltjs/interfaces/AddAppreciationResponse)>: A promise that resolves when appreciation is added.
Examples
// Simple appreciation
await codebolt.agentPortfolio.addAppreciation('agent-123', 'Thanks for the help!');
// Specific appreciation
await codebolt.agentPortfolio.addAppreciation('agent-123', 'Great job on the bug fix!');
Notes
- Keep appreciation messages concise and positive
- Appreciations are public and visible to others
- Use for quick recognition of good work