refactor: `ConversationSelection` initial state handling & Minor fixes
This commit is contained in:
parent
daec8b9b02
commit
8c8ac01a46
|
|
@ -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}`;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue