mirror of
https://github.com/davidkaya/aryx.git
synced 2026-08-07 20:28:46 +02:00
feat: add markdown composer backend foundation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -4,6 +4,7 @@ import {
|
||||
type ApprovalPolicy,
|
||||
validateApprovalPolicy,
|
||||
} from '@shared/domain/approval';
|
||||
import { buildMarkdownExcerpt } from '@shared/utils/markdownText';
|
||||
|
||||
export type OrchestrationMode =
|
||||
| 'single'
|
||||
@@ -1009,5 +1010,5 @@ export function buildSessionTitle(pattern: PatternDefinition, messages: ChatMess
|
||||
return pattern.name;
|
||||
}
|
||||
|
||||
return firstUserMessage.content.slice(0, 48).trim() || pattern.name;
|
||||
return buildMarkdownExcerpt(firstUserMessage.content, 48) ?? pattern.name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user