mirror of
https://github.com/lWolvesl/antigravity-usage-monitor.git
synced 2026-11-26 17:09:28 +08:00
feat(context): add 384k (384,000 token) context window preset option
Closes #24
This commit is contained in:
@@ -77,7 +77,7 @@ export function getContextWindowGroups(models) {
|
||||
}));
|
||||
const capacity = Math.min(...members.map((member) => member.capacity));
|
||||
if (!options.length && capacity) {
|
||||
for (const tokens of new Set([128000, 256000, 512000, 768000, 900000, capacity])) {
|
||||
for (const tokens of new Set([128000, 256000, 384000, 512000, 768000, 900000, capacity])) {
|
||||
if (tokens <= capacity && !options.some(({ name }) => name === String(tokens))) {
|
||||
options.push({ name: String(tokens), tokens });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user