RA.Aid/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 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
console Improve agent interruption UX by allowing user to specify feedback or exit the program entirely. 2024-12-23 14:05:59 -05:00
proc macOS compatibility (#23) 2024-12-30 12:38:06 -05:00
tests FEAT fix command line args and env var dependencies on anthropic (#21) 2024-12-28 16:53:57 -05:00
text Initial commit 2024-12-10 19:01:20 -05:00
tools 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
__init__.py Improve agent interruption UX by allowing user to specify feedback or exit the program entirely. 2024-12-23 14:05:59 -05:00
__main__.py Add configurable --recursion-limit argument (#46) 2025-01-21 11:46:56 -05:00
__version__.py Fix bug where directories are added as related files. 2025-01-08 17:04:24 -05:00
agent_utils.py Add configurable --recursion-limit argument (#46) 2025-01-21 11:46:56 -05:00
config.py Add configurable --recursion-limit argument (#46) 2025-01-21 11:46:56 -05:00
dependencies.py FEAT add function to check for dependencies on startup (#27) 2025-01-01 09:35:41 -05:00
env.py Adding Gemini API due to openrouter's limitations. (#34) 2025-01-04 07:19:05 -05:00
exceptions.py ciayn 2024-12-28 14:41:39 -05:00
file_listing.py Get project info programmatically to save tokens. 2025-01-09 14:43:42 -05:00
llm.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
logging_config.py FEAT add verbose logging 2024-12-26 00:45:57 +00:00
models_tokens.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
project_info.py Integrate project info into chat prompt. 2025-01-09 15:01:39 -05:00
project_state.py Fix test_file_as_directory. 2025-01-09 15:04:21 -05:00
prompts.py Increase recusion limit; Handle 429 better; Improve prompts. 2025-01-09 15:52:51 -05:00
provider_strategy.py Adding Gemini API due to openrouter's limitations. (#34) 2025-01-04 07:19:05 -05:00
tool_configs.py Integrate project info into chat prompt. 2025-01-09 15:01:39 -05:00