refactor: `ConversationSelection` initial state handling & Minor fixes

This commit is contained in:
Aleksander Grygier 2026-02-11 12:11:20 +01:00
parent daec8b9b02
commit 8c8ac01a46
1 changed files with 1 additions and 0 deletions

View File

@ -674,6 +674,7 @@ class AgenticStore {
private buildAttachmentName(mimeType: string, index: number): string {
const extension = IMAGE_MIME_TO_EXTENSION[mimeType] ?? DEFAULT_IMAGE_EXTENSION;
return `${MCP_ATTACHMENT_NAME_PREFIX}-${Date.now()}-${index}.${extension}`;
}
}