RA.Aid/tests/ra_aid
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
..
agents Extract tool reflection. 2025-01-09 15:35:14 -05:00
console moar cowboy 2024-12-11 14:50:40 -05:00
proc macOS compatibility (#23) 2024-12-30 12:38:06 -05:00
tools Extract tool reflection. 2025-01-09 15:35:14 -05:00
test_agent_utils.py Set Default Max Token Limit with Provider/Model Dictionary and Limit Tokens for Anthropic Claude React Agent (#45) 2025-01-20 14:41:29 -05:00
test_default_provider.py FEAT fix command line args and env var dependencies on anthropic (#21) 2024-12-28 16:53:57 -05:00
test_env.py FEAT fix command line args and env var dependencies on anthropic (#21) 2024-12-28 16:53:57 -05:00
test_llm.py test: update test suite for Gemini integration 2025-01-04 15:36:13 -05:00
test_main.py Add configurable --recursion-limit argument (#46) 2025-01-21 11:46:56 -05:00
test_programmer.py FEAT fix command line args and env var dependencies on anthropic (#21) 2024-12-28 16:53:57 -05:00
test_provider_integration.py test: update test suite for Gemini integration 2025-01-04 15:36:13 -05:00
test_tool_configs.py Fix tests. 2024-12-27 19:59:05 -05:00
test_utils.py Initial commit 2024-12-10 19:01:20 -05:00