Skip to main content

DEFAULT_GLOBAL_CALL_CEILING

@forge/monorepo


@forge/monorepo / backend/src / DEFAULT_GLOBAL_CALL_CEILING

Variable: DEFAULT_GLOBAL_CALL_CEILING

const DEFAULT_GLOBAL_CALL_CEILING: 40 = 40

Defined in: backend/src/knowledge/graph-global.ts:82

How many model calls one global query may make, by default.

Forty is a corpus of a few hundred documents at a coarse level. It is deliberately a number somebody has to raise consciously: the failure this bounds is not a slow query, it is a tenant growing until one question costs more than a day of ordinary use.