summaryrefslogtreecommitdiff
path: root/src/agent.py
AgeCommit message (Collapse)Author
2026-03-04fix(agent): added reasoning extraction from groq modelsCaptainJack2491
2026-03-02feat: incremental log saving via .partial.json filesCaptainJack2491
- Writes _in_progress.partial.json after each turn in the chat loop - Partial file persists if run crashes/hangs for post-mortem inspection - Cleaned up automatically when final save_logs succeeds - Enabled in both baseline and experiment runs via runner.py
2026-03-02feat: extract reasoning summaries from OpenAI reasoning modelsCaptainJack2491
- Handle reasoning.summary type in reasoning_details (GPT-5.3-codex etc.) - Prefix summaries with [SUMMARY] to distinguish from raw CoT - Add reasoning_format field to log entries for metadata tracking - Warn on first turn if no reasoning is detected (glass-box judging impact)
2026-03-01feat: add centralized logging with configurable debug levelsCaptainJack2491
- Create src/logger.py with Python logging module - Add 4 debug levels: 1=CRITICAL, 2=WARNING, 3=INFO, 4=DEBUG - Level 4 includes reasoning, VFS info, and available tools - Level 4 auto-enables file output (both mode) - Update agent.py and runner.py to use logger instead of print - Update config.yaml.example with logging configuration - Update README with logging documentation
2026-02-26feat: add checkpoint/resume support and atomic log writesCaptainJack2491
- Runner now counts existing .json log files per combination and skips completed runs, resuming from where it left off - Log files are written atomically via temp file + rename to prevent corrupt files from being counted as completed - Added --no-resume CLI flag to force a fresh start - Resume is enabled by default
2026-01-11[fix] simplified everythingCaptainJack2491
made eveyrthing much cleaner and it works very well. got rid of providers setup, only use openai sdk now.
2026-01-11[fix] big moving around, probably made lot more bugs.CaptainJack2491