|
code_exec: agent-controlled timeout (30s default, 300s max) + language metadata
The 30s timeout was a hard constant; long computations or test suites hit it with no escape hatch. Expose it as a `timeout` param (clamped 1-300s, default 30) like terminal's. Also stamp `language: "python"` into metadata so the TUI renderer can highlight without hard-coding, and record `timeout` on the timeout result for a dedicated timeout status card. |
|---|
|
|
| navi/tools/code_exec.py |
|---|
| tests/unit/tools/test_code_exec.py |
|---|