fix(attachments): export renderer budget helpers
This commit is contained in:
parent
6d7df59250
commit
3ed6dd3159
2 changed files with 2 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
||||||
|
export { DEFAULT_AGENT_IMAGE_OPTIMIZATION_BUDGET } from '../core/domain';
|
||||||
export * from './optimizeImageForAgent';
|
export * from './optimizeImageForAgent';
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ import { getAppIconPath } from '@main/utils/appIcon';
|
||||||
import { getAppDataPath, getTeamsBasePath } from '@main/utils/pathDecoder';
|
import { getAppDataPath, getTeamsBasePath } from '@main/utils/pathDecoder';
|
||||||
import { safeSendToRenderer } from '@main/utils/safeWebContentsSend';
|
import { safeSendToRenderer } from '@main/utils/safeWebContentsSend';
|
||||||
import { stripMarkdown } from '@main/utils/textFormatting';
|
import { stripMarkdown } from '@main/utils/textFormatting';
|
||||||
|
import { getErrorMessage } from '@shared/utils/errorHandling';
|
||||||
import {
|
import {
|
||||||
estimateAgentAttachmentSerializedPayloadBytes,
|
estimateAgentAttachmentSerializedPayloadBytes,
|
||||||
MAX_AGENT_ATTACHMENT_SERIALIZED_PAYLOAD_BYTES,
|
MAX_AGENT_ATTACHMENT_SERIALIZED_PAYLOAD_BYTES,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue