Skip to content

Documentation / @agentick/shared / getContextWindow

Function: getContextWindow()

getContextWindow(modelId): number | undefined

Defined in: model-catalog.ts:908

Get the context window size for a model.

Parameters

modelId

string

The model ID

Returns

number | undefined

Context window in tokens, or undefined if unknown

Released under the ISC License.