feat: increase default maxContextActions limit from 10 to 75 (#173)

* Apply patch

* fix: bump max to be 250 instead of 50

---------

Co-authored-by: open-swe-dev[bot] <open-swe-dev@users.noreply.github.com>
Co-authored-by: bracesproul <braceasproul@gmail.com>
This commit is contained in:
open-swe-dev[bot] 2025-06-15 20:47:41 +00:00 • committed by GitHub
parent 1d0a1cce6f
commit b07c7cf0c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -201,9 +201,9 @@ export const GraphConfigurationMetadata: {
maxContextActions: { maxContextActions: {
x_open_swe_ui_config: { x_open_swe_ui_config: {
type: "number", type: "number",
default: 10, default: 75,
min: 1, min: 1,
max: 50, max: 250,
description: description:
"Maximum number of context gathering actions during planning", "Maximum number of context gathering actions during planning",
}, },
@ -325,7 +325,7 @@ export const GraphConfiguration = z.object({
* The maximum number of context gathering actions to take during planning. * The maximum number of context gathering actions to take during planning.
* Each action consists of 2 messages (request & result), plus 1 human message. * Each action consists of 2 messages (request & result), plus 1 human message.
* Total messages = maxContextActions * 2 + 1 * Total messages = maxContextActions * 2 + 1
* @default 10 * @default 75
*/ */
maxContextActions: z maxContextActions: z
.number() .number()