MAX_ARTIFACT_BYTES
@forge/monorepo / backend/src / MAX_ARTIFACT_BYTES
Variable: MAX_ARTIFACT_BYTES
constMAX_ARTIFACT_BYTES:number
Defined in: backend/src/artifacts/index.ts:37
The largest artifact this platform will store.
A ceiling exists because an artifact is model output and model output has no natural bound. 4 MiB is a very long report and far past anything a context window produced in one turn — so in practice it catches a loop writing the same paragraph a thousand times, which is what it is for.