RA.Aid/tests
Ariel Frischer 46e7340ddb
Add configurable --recursion-limit argument (#46)
* test: Add unit tests for argument parsing in __main__.py

* test: Update tests to remove invalid argument and improve error handling

* test: Fix test_missing_message to handle missing argument cases correctly

* test: Fix test_missing_message to reflect argument parsing behavior

* test: Combine recursion limit tests and verify global config updates

* fix: Include recursion_limit in config for recursion limit tests

* test: Mock dependencies and validate recursion limit in global config

* test: Remove commented-out code and clean up test_main.py

* test: Remove self-evident comments and improve test assertions in test_main.py

* fix: Mock user input and handle temperature in global config tests

* fix: Fix test failures by correcting mock targets and handling temperature

* test: Update temperature validation to check argument passing to initialize_llm

* fix: Correct mock for ask_human and access kwargs in temperature test

* fix: Patch the entire ask_human function in test_chat_mode_implies_hil

* docs: Add recursion limit option to README documentation

* docs: Update README.md with all available command line arguments

* feat(config): add DEFAULT_RECURSION_LIMIT constant to set default recursion depth
feat(main.py): add --recursion-limit argument to configure maximum recursion depth for agent operations
fix(main.py): validate that recursion limit is positive before processing
refactor(main.py): use args.recursion_limit in agent configuration instead of hardcoded value
refactor(agent_utils.py): update agent configuration to use recursion limit from global memory or default value
refactor(run_research_agent): clean up comments and improve readability
refactor(run_web_research_agent): clean up comments and improve readability
refactor(run_planning_agent): clean up comments and improve readability
refactor(run_task_implementation_agent): clean up comments and improve readability
delete(test_main.py): remove obsolete test for chat mode and HIL configuration
2025-01-21 11:46:56 -05:00
..
ra_aid Add configurable --recursion-limit argument (#46) 2025-01-21 11:46:56 -05:00
scripts added release notes extraction script extract_changelog 2024-12-17 08:44:21 -05:00
pytest.ini Add unit tests for CiaynAgent._does_not_conform_to_pattern. 2025-01-09 11:51:08 -05:00
test_file_listing.py Get project info programmatically to save tokens. 2025-01-09 14:43:42 -05:00
test_project_info.py Get project info programmatically to save tokens. 2025-01-09 14:43:42 -05:00
test_project_state.py Get project info programmatically to save tokens. 2025-01-09 14:43:42 -05:00