Skip to main content

Interface: ContextFit

Defined in: packages/agentos/src/api/runtime/contextWindowFit.ts:53

The check's verdict and the numbers behind it.

Properties​

contextWindow?​

optional contextWindow: number

Defined in: packages/agentos/src/api/runtime/contextWindowFit.ts:59


estimatedInputTokens​

estimatedInputTokens: number

Defined in: packages/agentos/src/api/runtime/contextWindowFit.ts:60


fits​

fits: boolean

Defined in: packages/agentos/src/api/runtime/contextWindowFit.ts:58

False only when the catalog knows the model's window, the request exceeds it, and the call has not enabled OpenRouter's context compression.


outputTokens​

outputTokens: number

Defined in: packages/agentos/src/api/runtime/contextWindowFit.ts:61