Skip to content

feat(codemode): configurable max execution timeout#117

Merged
spachava753 merged 1 commit intomainfrom
feat/configurable-codemode-timeout
Dec 20, 2025
Merged

feat(codemode): configurable max execution timeout#117
spachava753 merged 1 commit intomainfrom
feat/configurable-codemode-timeout

Conversation

@spachava753
Copy link
Copy Markdown
Owner

Allow users to configure the maximum execution timeout for code mode via the maxTimeout field in CodeModeConfig. This addresses the limitation where the timeout was hardcoded to 300 seconds (5 minutes), which might be insufficient for long-running tasks like analyzing large codebases or running extensive tests.

The execute_go_code tool definition now dynamically reflects the configured maximum timeout in its schema description and validation limits. The default behavior remains 300 seconds if the configuration is omitted or set to 0.

Closes #114

Allow users to configure the maximum execution timeout for code mode via the `maxTimeout` field in `CodeModeConfig`. This addresses the limitation where the timeout was hardcoded to 300 seconds (5 minutes), which might be insufficient for long-running tasks like analyzing large codebases or running extensive tests.

The `execute_go_code` tool definition now dynamically reflects the configured maximum timeout in its schema description and validation limits. The default behavior remains 300 seconds if the configuration is omitted or set to 0.

Closes #114
@spachava753 spachava753 merged commit dd88212 into main Dec 20, 2025
@spachava753 spachava753 deleted the feat/configurable-codemode-timeout branch April 10, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Enhancement]: Configurable Max Execution Timeout for Code Mode

1 participant