feat(KB-279): add AI-powered async title generation for tasks
- Add async generateTitle() using AI to create concise task titles from descriptions\n- Update createTask() to generate titles asynchronously when not provided\n- Add dynamic import pattern for @kb/engine to enable testability\n- Update store tests with comprehensive coverage for AI title generation\n- Add changeset for the title generation fix
This commit is contained in:
5
.changeset/fix-title-ai-generation.md
Normal file
5
.changeset/fix-title-ai-generation.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@dustinbyrne/kb": patch
|
||||
---
|
||||
|
||||
Fix title auto-creation to use AI summarization instead of simple truncation. When creating a task without a title, the system now uses an AI agent to generate a proper summary of the description (3-8 words, max 60 chars). Short descriptions (3 words or less) bypass AI and use the description as-is. If the AI call fails, the task is created without a title rather than falling back to truncated text.
|
||||
Reference in New Issue
Block a user