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.
1 parent 0e6aa0d commit 2c5a9e21bef217f9f476588e0bf5dbd1e095da90
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 14 Jul
Showing 2 changed files
View
navi/tools/code_exec.py
View
tests/unit/tools/test_code_exec.py