Merge pull request #1132 from trek-e/feat/1m-context-awareness-1086

This commit is contained in:
Tom Boucher
2026-03-18 18:08:19 -04:00
committed by GitHub
3 changed files with 13 additions and 3 deletions

View File

@@ -65,6 +65,7 @@ function loadConfig(cwd) {
parallelization: true,
brave_search: false,
resolve_model_ids: false, // when true, resolve aliases (opus/sonnet/haiku) to full model IDs
context_window: 200000, // default 200k; set to 1000000 for Opus/Sonnet 4.6 1M models
};
try {
@@ -108,6 +109,7 @@ function loadConfig(cwd) {
parallelization,
brave_search: get('brave_search') ?? defaults.brave_search,
resolve_model_ids: get('resolve_model_ids') ?? defaults.resolve_model_ids,
context_window: get('context_window') ?? defaults.context_window,
model_overrides: parsed.model_overrides || null,
};
} catch {

View File

@@ -31,6 +31,7 @@ function cmdInitExecutePhase(cwd, phase, raw) {
// Config flags
commit_docs: config.commit_docs,
parallelization: config.parallelization,
context_window: config.context_window,
branching_strategy: config.branching_strategy,
phase_branch_template: config.phase_branch_template,
milestone_branch_template: config.milestone_branch_template,