Commit History
-
fix: correct author name formatting in multiple files
e7b4937
-
refactor: update folder structure and adjust output paths
3dcf523 -
refactor: implement 3-tier folder naming conventionβ
Implement clear 3-tier naming convention to distinguish user-only, runtime, and application folders. 3-Tier Convention: 1. User-only (user_* prefix): Manual use, not app runtime - user_input/ - Testing files, manual data input - user_output/ - Downloaded results, exports - user_dev/ - Dev records, problem documentation - user_archive/ - Archived code/reference materials 2. Runtime/Internal (_ prefix): App creates, temporary - _cache/ - Runtime cache, served via app download - _log/ - Runtime logs, debugging traces 3. Application (no prefix): Permanent code - src/, test/, docs/ - Application code and tests Folders renamed: - _input/ β user_input/ - _output/ β user_output/ - dev/ β user_dev/ - archive/ β user_archive/ Updated files: - test/test_phase0_hf_vision_api.py - Path("_output") β Path("user_output") - .gitignore - Updated folder references and added comments - CHANGELOG.md - Added 3-tier convention entry - ~/.claude/CLAUDE.md - Updated Project Structure β¦bcc49f8 -
refactor: rename runtime folders with underscore prefixβ
Rename folders to follow Python convention for internal/private: - log/ β _log/ (runtime logs, debugging) - output/ β _output/ (runtime results, user downloads) - input/ β _input/ (user testing files, not app input) Rationale: _ prefix signals "internal, temporary, not part of public API" Updated files: - src/agent/llm_client.py - Path("log") β Path("_log") - src/tools/youtube.py - Path("log") β Path("_log") - test/test_phase0_hf_vision_api.py - Path("output") β Path("_output") - .gitignore - Updated folder references (log/, input/ β _log/, _input/, added _output/) - CHANGELOG.md - Added infrastructure entry Co-Authored-By: Claude <noreply@anthropic.com>04ece4c -
feat: phase1 planning and video processing researchβ
- Rewrite PLAN.md: focus on system error fixes (current 10% β 30% target) - Add brainstorming_phase1_youtube.md: YouTube transcript approach research - Add _template_original/: static reference for comparison - Update CHANGELOG.md: course test setup analysis, 20 fixed questions documented - Research findings: * Transcript-first approach: 1-3s vs frame extraction 1-10min total * Frame extraction is fast (5-20s), vision processing is slow * Whisper open-source on ZeroGPU: 5-10x speedup, free * Unified Phase 1+2 architecture: single transcribe_audio() function Co-Authored-By: Claude <noreply@anthropic.com>0d77f39
-
feat: system error field, calculator fix, target task IDs, course vs GAIA docsβ
Changes: - System error field: Changed to boolean yes/no with error_log - Calculator threading fix: Handle signal.alarm() failure in threads - Target task IDs: Debug feature to run specific questions - Course vs GAIA: Documentation distinguishing course API from official GAIA - Quick test script: test/test_quick_fixes.py for targeted testing Modified: - app.py: System error field, target task IDs UI, submission logic - src/tools/calculator.py: Thread-safe timeout handling - src/agent/graph.py: Evidence formatting for dict results - src/agent/llm_client.py: Fallback mechanism archived - CHANGELOG.md: All changes documented - README.md: Added submission guide reference Added: - docs/gaia_submission_guide.md: Complete submission guide - test/test_quick_fixes.py: Targeted question testing Co-Authored-By: Claude <noreply@anthropic.com>41ac444 -
Phase 0-2: HF Vision Integration Complete - Google Gemma 3 Selectedβ
Phase 0 (Extended Testing): - Tested 4 additional user-requested models - Validated: google/gemma-3-27b-it:scaleway (6s, RECOMMENDED) - Validated: zai-org/GLM-4.6V-Flash:zai-org (16s) - Validated: Qwen/Qwen3-VL-30B-A3B-Instruct:novita (14s) - Failed: GLM-4.7, gpt-oss-120b (text-only models) Phase 1 (Implementation): - Added analyze_image_hf() in src/tools/vision.py - Fixed analyze_image() routing to respect LLM_PROVIDER - Added HF_TOKEN, HF_VISION_MODEL to settings - Each provider fails independently (no fallback chains) Phase 2 (Smoke Tests): - Created test/test_smoke_hf_vision.py - Smoke test PASSED: red square image correctly identified - Fixed Settings.hf_token integration - Removed unsupported timeout parameter Modified Files: - src/tools/vision.py: +120 lines (HF vision function + routing fix) - src/config/settings.py: +5 lines (HF config) - .env.example: +7 lines (HF_TOKEN, HF_VISION_MODEL docs) - CHANGELOG.md: +93 lines (Phase 0-2 documentation) - PLAN.md: +20 lines (Phase 0β¦2bb2d3d
-
Add initial implementation for Phase 0 validation of HF Inference API with vision modelsβ
- Introduced a new test script `test_phase0_hf_vision_api.py` to validate multimodal support for vision models. - Implemented functions to encode images to base64, test models with base64 and file path inputs, and handle OCR models. - Configured logging for detailed output during testing. - Added a sample test image `test_image_red_square.jpg` for validation purposes. - Established a decision gate to proceed to Phase 1 based on test results.630f609
-
Stage 5: Performance optimization - retry logic, Groq integration, improved promptsβ
- Added exponential backoff retry logic (3 attempts, 1s/2s/4s delays) - Integrated Groq as 4th free LLM tier (Llama 3.1 70B) - Improved tool selection prompts with few-shot examples - Added graceful vision question skip logic - Relaxed calculator validation (graceful errors) - Improved TOOLS schema descriptions - All 99 tests passing π€ Generated with Claude Code Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>5890f66
-
Fix: Tool name consistency across TOOLS registry and TOOL_FUNCTIONSβ
Resolved mismatch between: - TOOLS registry (src/tools/__init__.py): "web_search", "calculator", "vision" - TOOL_FUNCTIONS (src/agent/graph.py): Was using "search", "safe_eval", "analyze_image" Changes: - Updated TOOL_FUNCTIONS to match TOOLS registry names - Updated fallback_tool_selection() to use correct names - Fixed test mock to use "web_search" instead of "search" Result: HuggingFace LLM function calling now works correctly Tests: 99/99 passing β π€ Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>59f3cce
-
Stage 3: Core Logic Implementation - LLM Integrationβ
Implemented Stage 3 core agent logic with full LLM integration: **New Features:** - LLM-based planning: Analyzes questions and generates execution plans - Dynamic tool selection: Claude function calling for tool selection - Parameter extraction: LLM extracts tool parameters from questions - Answer synthesis: LLM generates factoid answers from evidence - Conflict resolution: LLM evaluates contradictory information **New Files:** - src/agent/llm_client.py - Centralized LLM client - test/test_llm_integration.py - 8 new LLM integration tests - test/test_stage3_e2e.py - Manual E2E test script **Modified Files:** - src/agent/graph.py - Implemented all node logic (plan/execute/answer) - AgentState schema: Added file_paths, tool_results, evidence fields **Framework Updates:** - Updated dev records (04-07) with new framework parameters - Added missing parameters from framework v2026-01-02 **Test Results:** - All 99 tests passing (6 Stage 1 + 85 Stage 2 + 8 Stage 3) - No regressions from prβ¦4c0b7eb -
Move test files from tests/ to test/ folder per project standardβ
- Moved all test files to standard test/ folder (singular, not plural) - test_web_search.py, test_file_parser.py, test_calculator.py, test_vision.py - Moved fixtures/ directory to test/fixtures/ - Removed tests/ directory - All 91 tests still passing8e48c56