Files
letta-code-sdk/examples/bug-fixer/types.ts
Cameron Pfiffer 3b4811f035 feat: add basic utility examples with agent persistence
Three practical examples showing core SDK capabilities:

- **bug-fixer**: Find and fix bugs, remembers codebase patterns
- **release-notes**: Generate release notes from git commits
- **file-organizer**: Organize directories, learns preferences

Each example uses agent persistence (getOrCreateAgent pattern) so the
agent remembers context across sessions - the key Letta differentiator.

🤖 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta <noreply@letta.com>
2026-01-27 15:51:27 -08:00

17 lines
234 B
TypeScript

/**
* Bug Fixer Types
*/
export interface BugFixerState {
agentId: string | null;
fixCount: number;
}
export interface BugFixerConfig {
model: string;
}
export const DEFAULT_CONFIG: BugFixerConfig = {
model: 'sonnet',
};