Skip to content

Commit

Permalink
Update text content description with file size (#2536)
Browse files Browse the repository at this point in the history
limit
  • Loading branch information
fontanierh authored Nov 14, 2023
1 parent 7f1c750 commit 11b260e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion front/pages/w/[wId]/builder/data-sources/[name]/upsert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,11 @@ export default function DataSourceUpsert({
)}
<Page.SectionHeader
title="Text content"
description="Copy paste content or upload a file (text or PDF)."
description={`Copy paste content or upload a file (text or PDF). Up to ${
plan.limits.dataSources.documents.sizeMb == -1
? "2"
: plan.limits.dataSources.documents.sizeMb
} MB of raw text.`}
action={{
label: uploading ? "Uploading..." : "Upload file",
variant: "secondary",
Expand Down

0 comments on commit 11b260e

Please sign in to comment.