Spaces:
Sleeping
Sleeping
Commit History
-
Improve agent loop, tools, and research subagent for long-running autonomous tasks
- Add --no-stream and --max-iterations CLI flags for headless operation - Simplify context manager: remove staged pruning, track actual token usage - Add doom-loop detection and context budget to research subagent - Improve file tools: better enforcement, error messages, descriptions - Improve bash tool: longer timeouts, background execution guidance - Add training logging and HP sweep guidance to system prompt - Relax Python requirement to >=3.11 - Remove unused file_content_cache73882d9
-
fix: move import/signature validation to sandbox, keep host-side lightweight
edit_utils.py (host): removed import resolution and signature inspection that always failed because ML packages aren't installed on the host. Now only does syntax checks and training script heuristics. sandbox_client.py (sandbox server): added real signature inspection — imports the actual class, calls inspect.signature(), and checks kwargs against the real __init__ parameters. Catches invalid trainer kwargs before runtime since packages are installed in the sandbox.5f5c156 -
Improve tool output quality: ANSI stripping, tail-biased truncation, noise suppression
- Strip ANSI escape sequences from bash/job output (sandbox, local, jobs) - Switch to tail-biased truncation (25/75 head/tail split) so errors and final results are preserved instead of setup noise - Spill full output to temp file when truncated, with metadata telling the agent how to read specific sections via offset/limit - Add UV_NO_PROGRESS=1 and PYTHONWARNINGS env vars to suppress install progress and deprecation warnings at source - Add atomic file writes, fuzzy edit matching, and Python validation to sandbox server and local toolsc85e4f2