feat(context): add 384k (384,000 token) context window preset option

Closes #24
This commit is contained in:
fish
2026-11-17 20:21:56 +09:00
parent c41c039c08
commit dca767e8ad
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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 });
}