cmd: set context limits for cloud models in opencode (#14107)

This commit is contained in:
Parth Sareen
2026-02-05 19:36:46 -05:00
committed by GitHub
parent 5f53fe7884
commit 8a4b77f9da
4 changed files with 245 additions and 1 deletions

View File

@@ -482,6 +482,8 @@ Examples:
}
}
}
} else if saved, err := loadIntegration(name); err == nil && len(saved.Models) > 0 && !configFlag {
return runIntegration(name, saved.Models[0], passArgs)
} else {
var err error
models, err = selectModels(cmd.Context(), name, "")