Commit Graph

55 Commits

Author SHA1 Message Date
Ariel Frischer 396d7033fa
Show fallback models in config panel (#103)
* feat(readme): update experimental fallback handler description for clarity and add recommendation for OPENAI_API_KEY
feat(main.py): refactor status display logic into a separate build_status function for better readability and maintainability
feat(fallback_handler.py): add debug logging for fallback handler model selection process
chore(todo.md): create a new TODO file to track future improvements and tasks

* chore(todo.md): remove outdated TODO list file to clean up the repository

* feat(main.py): add wrench emoji to FallbackHandler status message for better visibility
2025-02-18 23:15:18 -05:00
Ariel Frischer 5a4710b3be feat(tests): add --test-cmd-timeout argument to README and implement timeout for test command execution
fix(config): define DEFAULT_TEST_CMD_TIMEOUT for consistent test command timeout handling
fix(main.py): remove unused AgentInterrupt import and update test command timeout handling
fix(programmer.py): adjust interactive command execution to use model-specific latency
fix(handle_user_defined_test_cmd_execution.py): update timeout handling for test command execution
test(tests): update tests to verify timeout behavior for test command execution
2025-02-17 15:38:20 -08:00
Ariel Frischer becf8a1fd6 feat(dependabot): add dependabot configuration for daily updates of Python packages
docs(README.md): enhance documentation with installation, configuration, and usage guides
docs(contributing.md): create a contributing guide to encourage community involvement
docs(getting-help.md): add a section for reporting issues and community support
docs(quickstart): reorganize and enhance quickstart documentation for better clarity
style(docusaurus.config.ts): update footer copyright and GitHub link for accuracy
fix(models_params.py): add default base latency parameter for model configurations
feat(usage): add usage examples for creating games and modern web apps with RA.Aid
chore(remove): delete outdated quickstart and tutorial files to streamline documentation
2025-02-17 15:20:54 -08:00
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
Ariel Frischer 6970a885e4 chore(docs): update documentation and assets for RA.Aid project using Docusaurus
- Add new versioned documentation for RA.Aid project.
- Include installation instructions, quick starts, and markdown features.
- Add configuration files for Docusaurus setup.
- Introduce new images and logos for branding.
- Create a sidebar for better navigation in documentation.
- Implement a .gitignore file for the docs directory to exclude unnecessary files.

feat(docs): add SVG illustrations for Docusaurus documentation to enhance visual appeal
feat(docs): create tsconfig.json for improved TypeScript support in Docusaurus
fix(pyproject.toml): update dependencies to latest versions for better compatibility and features
fix(__main__.py): improve expert provider selection logic based on available API keys
feat(llm.py): implement function to fetch available OpenAI models and select expert model
fix(file_listing.py): enhance file listing functionality to include hidden files option and improve error handling
fix(deepseek_chat.py): add timeout and max_retries parameters to ChatDeepseekReasoner initialization
fix(version.py): bump version to 0.14.1 for release readiness

feat(models_params.py): add default_temperature to model parameters for consistency and configurability
refactor(interactive.py): enhance run_interactive_command to support expected runtime and improve output capture
fix(prompts.py): update instructions to clarify file modification methods
refactor(provider_strategy.py): streamline expert model selection logic for clarity and maintainability
chore(tool_configs.py): update tool imports to reflect changes in write_file functionality
refactor(agent.py): enhance LLM initialization to include temperature and improve error handling
feat(memory.py): normalize file paths in emit_related_files to prevent duplicates
feat(programmer.py): add get_aider_executable function to retrieve the aider executable path
test: add comprehensive tests for new features and refactor existing tests for clarity and coverage
2025-02-14 13:11:10 -08:00
Ariel Frischer cd8d1c459d feat(readme): document new command line arguments for experimental features
feat(main.py): add --experimental-fallback-handler argument to enable fallback handler
fix(agent_utils.py): modify init_fallback_handler to check for experimental fallback handler flag
fix(config.py): increase DEFAULT_MAX_TOOL_FAILURES to allow more retries before failure
2025-02-13 17:01:46 -08: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