{{
file?.fileName
}}
{{
formatBytes(file?.fileSize)
}}
handleOpenPagePreview({uri})"
:is-task-agent="agentInfo?.type === AgentTypeEnum.TaskAgent"
@onOpenFileTree="handleOpenFileTree"
:sandbox-list="sandboxList"
:current-sandbox-id="currentSandboxId"
:is-sandbox-switch-disabled="isSandboxLocked"
:is-sandbox-unavailable="isSandboxUnavailable"
:sandbox-disabled-text="sandboxDisabledText"
:readonly="agentInfo?.allowPrivateSandbox === DefaultSelectedEnum.No"
:enable-skill-at="agentInfo?.allowAtSkill === DefaultSelectedEnum.Yes"
:is-temp-chat="isTempChat"
@onSandboxChange="(id: string) => handleSelectSandbox(id)"
:has-permission="agentInfo?.hasPermission ?? true"
:allow-other-model="
agentInfo?.allowOtherModel === DefaultSelectedEnum.Yes
"
:current-model-id="data.currentModelId.value"
:current-model-name="data.currentModelName.value"
:agent-id="agentId"
:agent-type="agentInfo?.type"
:subscription-required="subscriptionRequired"
@onModelChange="(id: number, name: string) => handleSelectModel(id, name)"
@onOpenSubscription="handleOpenSubscription"
/>