Download packages/core/src/context/profiles.ts from SaylorTwift/gemini-cli: direct link, hf CLI and curl.
- Browser
- Download file 670 Bytes
-
https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/packages/core/src/context/profiles.ts
- Command line
-
hf download hf://SaylorTwift/gemini-cli/packages/core/src/context/profiles.ts
-
curl -L -o profiles.ts https://huggingface.co/SaylorTwift/gemini-cli/resolve/main/packages/core/src/context/profiles.ts
670 Bytes
| /** | |
| * @license | |
| * Copyright 2026 Google LLC | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| import type { ContextManagementConfig } from './types.js'; | |
| export const generalistProfile: ContextManagementConfig = { | |
| enabled: true, | |
| historyWindow: { maxTokens: 150_000, retainedTokens: 80_000 }, | |
| messageLimits: { | |
| normalMaxTokens: 3_000, | |
| retainedMaxTokens: 30_000, | |
| normalizationHeadRatio: 0.15, | |
| }, | |
| tools: { | |
| distillation: { | |
| maxOutputTokens: 10_000, | |
| summarizationThresholdTokens: 20_000, | |
| }, | |
| outputMasking: { | |
| protectionThresholdTokens: 50_000, | |
| minPrunableThresholdTokens: 30_000, | |
| protectLatestTurn: true, | |
| }, | |
| }, | |
| }; | |