Commit Graph

50 Commits

Author SHA1 Message Date
Ariel Frischer 581dc4b761 feat: add `--test-cmd-timeout` option to specify timeout for test command execution
This change introduces a new command-line option `--test-cmd-timeout` to allow users to set a timeout for the execution of test commands. The default timeout is set to 300 seconds. This enhancement provides users with more control over the execution time of their test commands, helping to prevent indefinite hangs during testing.

Additionally, the codebase has been updated to utilize this new timeout setting in relevant areas, ensuring consistent behavior across the application.
2025-02-17 11:03:19 -08:00
AI Christianson 7624d3c006 update README 2025-02-14 19:08:17 -05:00
AI Christianson 16760d513b update README with links to docs 2025-02-14 19:03:59 -05:00
AI Christianson aca62d0c92 update logo 2025-02-10 11:45:36 -05:00
AI Christianson 26b0f1bdd5 update logo 2025-02-10 11:41:03 -05:00
AI Christianson 6f865575ee
Update README.md 2025-02-04 15:06:28 -05:00
AI Christianson 04a12b920c README logo 2025-02-04 10:14:48 -05:00
AI Christianson a822ae1332
Update README.md 2025-02-03 15:56:30 -05:00
Will a3d19cc15d
Correcting URLs that were referencing ai-christianson/ra-aid - should be ai-christianson/RA.Aid (#69) 2025-01-31 10:15:40 -05:00
Jose M Leon 0e188c961b
FEAT WebUI (#61)
* FEAT webui to run RA.Aid from a browser

* FEAT startin webui from ra-aid cmd

* FEAT updating readme

* FEAT adding ADR for webui

* FEAT marking webui as alpha feature
2025-01-29 20:10:10 -05:00
Jose Leon 3896236fa1 wip 2025-01-25 04:15:01 +00:00
Ariel Frischer 6c4acfea8b
Added Provider/Model Override Arguments to Seperate Research/Planner Configurations (#53)
* feat: add research and planner provider/model options to enhance configurability for research and planning tasks
refactor: create get_effective_model_config function to streamline provider/model resolution logic
test: add unit tests for effective model configuration and environment validation for research and planner providers

* refactor(agent_utils.py): remove get_effective_model_config function to simplify code and improve readability
style(agent_utils.py): format debug log statements for better readability
fix(agent_utils.py): update run_agent functions to directly use config without effective model config
feat(agent_utils.py): enhance logging for command execution in programmer.py
test(tests): remove tests related to get_effective_model_config function as it has been removed

* chore(tests): remove outdated tests for research and planner agent configurations to clean up the test suite and improve maintainability

* style(tests): apply consistent formatting and spacing in test_provider_integration.py for improved readability and maintainability
2025-01-24 18:00:47 -05:00
Ariel Frischer 686ab42f88
Add Deepseek Provider Support and Custom Deepseek Reasoner Chat Model (#50)
* chore: Add DeepSeek provider environment variable support in env.py

* feat: Add DeepSeek provider validation strategy in provider_strategy.py

* feat: Add support for DEEPSEEK provider in initialize_llm function

* feat: Create ChatDeepseekReasoner for custom handling of R1 models

* feat: Configure custom OpenAI client for DeepSeek API integration

* chore: Remove unused json import from deepseek_chat.py

* refactor: Simplify invocation_params and update acompletion_with_retry method

* feat: Override _generate to ensure message alternation in DeepseekReasoner

* feat: Add support for ChatDeepseekReasoner in LLM initialization

* feat: Use custom ChatDeepseekReasoner for DeepSeek models in OpenRouter

* fix: Remove redundant condition for DeepSeek model initialization

* feat: Add DeepSeek support for expert model initialization in llm.py

* feat: Add DeepSeek model handling for OpenRouter in expert LLM initialization

* fix: Update model name checks for DeepSeek and OpenRouter providers

* refactor: Extract common logic for LLM initialization into reusable methods

* test: Add unit tests for DeepSeek and OpenRouter functionality

* test: Refactor tests to match updated LLM initialization and helpers

* fix: Import missing helper functions to resolve NameError in tests

* fix: Resolve NameError and improve environment variable fallback logic

* feat(readme): add DeepSeek API key requirements to documentation for better clarity on environment variables
feat(main.py): include DeepSeek as a supported provider in argument parsing for enhanced functionality
feat(deepseek_chat.py): implement ChatDeepseekReasoner class for handling DeepSeek reasoning models
feat(llm.py): add DeepSeek client creation logic to support DeepSeek models in the application
feat(models_tokens.py): define token limits for DeepSeek models to manage resource allocation
fix(provider_strategy.py): correct validation logic for DeepSeek environment variables to ensure proper configuration
chore(memory.py): refactor global memory structure for better readability and maintainability in the codebase
2025-01-22 07:21:10 -05:00
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
arthrod ffe5138a99
Adding Gemini API due to openrouter's limitations. (#34) 2025-01-04 07:19:05 -05:00
Will d3a4684d69
Corrected typo in documentation for the GitHub URL (#22)
* Correcting URL for github; ra-aid.git -> RA.Aid.git

* Additional fix to cloning instructions
2024-12-29 11:47:24 -05:00
Jose Leon 204f44cda0 FEAT add verbose logging 2024-12-26 00:45:57 +00:00
user 74abb10861 Update README.md with web research 2024-12-24 09:34:29 -05:00
Jose Leon e507fd87bd FEAT allow flexiblity to support future aider flags 2024-12-24 00:25:05 +00:00
user 6591fdae65 Cleanup README. 2024-12-23 14:40:41 -05:00
user 224e69aa4c Add new info about interrupting agents. 2024-12-23 14:38:39 -05:00
user e75f3fc2c3 Added chat mode demo. 2024-12-23 10:57:03 -05:00
user 4cdb6c4ce0 docs: add chat mode documentation to README 2024-12-22 15:54:05 -05:00
AI Christianson 86d5fae30f General fixes and README.md update 2024-12-19 13:54:12 -05:00
AI Christianson e392f6e0f1 update readme 2024-12-19 09:26:58 -05:00
AI Christianson 4bf8b8f88f update readme 2024-12-19 09:25:14 -05:00
AI Christianson be7041a814 update readme 2024-12-19 09:24:49 -05:00
AI Christianson b73e692de6 update readme 2024-12-19 09:23:57 -05:00
AI Christianson dd450da832 readme updates 2024-12-19 08:52:44 -05:00
AI Christianson 9abb13cf22 updated readme 2024-12-17 12:34:27 -05:00
AI Christianson 07649b934a clean up expert display panel 2024-12-13 15:46:40 -05:00
AI Christianson 6c85d7fd6f expert LLM configuration 2024-12-13 14:54:56 -05:00
AI Christianson 36e00d8227 make expert model configurable 2024-12-13 14:19:42 -05:00
AI Christianson 571b9474d3 update env var docs 2024-12-13 13:40:13 -05:00
AI Christianson ed04230267 readme note 2024-12-13 10:21:53 -05:00
AI Christianson 9a1f000d19 add note about programmer tool always using claude for now 2024-12-13 10:20:15 -05:00
AI Christianson 90e90de414
Merge pull request #2 from eltociear/patch-1
docs: update README.md
2024-12-13 09:55:44 -05:00
AI Christianson dd716ab4ec docs on model configuration 2024-12-13 09:53:13 -05:00
Ikko Eltociear Ashimine a899bf9924
docs: update README.md
minor fix
2024-12-13 23:44:54 +09:00
AI Christianson c1217912f1 docs: add Discord invite link and welcome contributions message 2024-12-12 17:35:30 -05:00
AI Christianson 4960b1275e docs enhancement 2024-12-11 16:34:04 -05:00
AI Christianson e1b04781d7 Update prompts, shell tools and add shell tests 2024-12-11 11:25:34 -05:00
AI Christianson 17e7cb47d8 docs: replace asciinema with autoplay GIF demo 2024-12-10 20:18:01 -05:00
AI Christianson 57894609c5 docs: add asciinema demo to README 2024-12-10 20:12:38 -05:00
AI Christianson 7569b73e5a docs: add aider requirement to prerequisites
Add instruction to install aider package as it's required to be in PATH
2024-12-10 19:28:16 -05:00
AI Christianson 5cebfed28e feat: enhance documentation and CLI interface
- Add comprehensive usage documentation and examples to README
- Add warning about shell command execution risks
- Improve CLI with --message and --research-only flags
- Add environment validation for API keys
- Replace requirements.txt with pyproject.toml
2024-12-10 19:27:31 -05:00
AI Christianson b529456ca4 README 2024-12-10 19:10:29 -05:00
AI Christianson 48a338037c Update README.md 2024-12-10 19:08:17 -05:00
AI Christianson af55602fd1 fix: wrap ASCII art in code block to preserve alignment on GitHub 2024-12-10 19:03:28 -05:00
AI Christianson 341bc91e65 Initial commit 2024-12-10 19:01:20 -05:00