fix(attachments): export renderer budget helpers

This commit is contained in:
777genius 2026-05-09 01:49:55 +03:00
parent 6d7df59250
commit 3ed6dd3159
2 changed files with 2 additions and 0 deletions

View file

@ -1 +1,2 @@
export { DEFAULT_AGENT_IMAGE_OPTIMIZATION_BUDGET } from '../core/domain';
export * from './optimizeImageForAgent';

View file

@ -5,6 +5,7 @@ import { getAppIconPath } from '@main/utils/appIcon';
import { getAppDataPath, getTeamsBasePath } from '@main/utils/pathDecoder';
import { safeSendToRenderer } from '@main/utils/safeWebContentsSend';
import { stripMarkdown } from '@main/utils/textFormatting';
import { getErrorMessage } from '@shared/utils/errorHandling';
import {
estimateAgentAttachmentSerializedPayloadBytes,
MAX_AGENT_ATTACHMENT_SERIALIZED_PAYLOAD_BYTES,