mirror of
https://github.com/davidkaya/aryx.git
synced 2026-11-30 12:24:03 +01:00
feat: add markdown composer backend foundation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
a8c6ba94f5
commit
d07bf30e81
16 files changed
+539
-121
No files matched your search
@@ -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