Commit Graph

150 Commits

Author SHA1 Message Date
AI Christianson d8dcc8ca86 refactor: extract run_planning_agent 2025-03-10 14:19:06 -04:00
AI Christianson 4f2c36b958 refactor: extract research agent 2025-03-10 13:33:00 -04:00
AI Christianson d0bf78c5f0 support reasoning assistance in research phase. 2025-03-08 19:32:05 -05:00
AI Christianson 35f91aa128 add flags to force enable/disable reasoning assistance 2025-03-08 15:36:00 -05:00
AI Christianson c323098aec include environment information in prompts 2025-03-08 12:01:40 -05:00
AI Christianson 96dbd1c4e7 add --show-thoughts flag 2025-03-08 08:31:45 -05:00
AI Christianson 089bd9b368 add --wipe-project-memory flag 2025-03-07 12:06:40 -05:00
AI Christianson 53406f1ddf include memory in status panel 2025-03-07 09:45:38 -05:00
AI Christianson 254a9f4d13 version check 2025-03-05 14:46:39 -05:00
AI Christianson c9f3f37ca3 get rid of global memory 2025-03-04 21:25:37 -05:00
AI Christianson 5bd8c76a22 config repository 2025-03-04 21:01:08 -05:00
AI Christianson a1b268fdf4 get rid of global memory work log refs 2025-03-04 18:30:52 -05:00
AI Christianson 47cb6b65ef fix duplicate implementation 2025-03-04 15:14:17 -05:00
AI Christianson 600bf355d9 use repo pattern 2025-03-04 14:59:45 -05:00
AI Christianson 0afed55809 get rid of dead code around implementation_requested 2025-03-04 13:10:52 -05:00
AI Christianson 035544c77a research notes repo 2025-03-03 22:31:51 -05:00
AI Christianson 5202d2e7f3 use context vars for human input repo 2025-03-03 17:58:55 -05:00
AI Christianson fc58aa0b77 key snippets context var 2025-03-03 17:27:41 -05:00
AI Christianson 36e4004db0 use context vars for key facts repo 2025-03-03 16:58:03 -05:00
AI Christianson bc9d11e6e2 remove refs to global memory key snippets (dead code/obsolete) 2025-03-03 07:54:37 -05:00
AI Christianson bd05dee716 include key facts/snippets in chat mode 2025-03-02 21:29:18 -05:00
AI Christianson 186904c0ca added human input table 2025-03-02 20:06:04 -05:00
AI Christianson 332cbec826 key snippet gc 2025-03-02 19:41:48 -05:00
AI Christianson 038e7b886c key snippets db 2025-03-02 19:06:51 -05:00
AI Christianson 073c68d010 cleanup 2025-03-02 16:30:22 -05:00
AI Christianson d41416b4d7 run gc in db ctx 2025-03-02 14:52:11 -05:00
AI Christianson 1855cc3252 cleaner -> gc 2025-03-02 14:44:39 -05:00
AI Christianson 14c9bdfdc7 key facts gc 2025-03-02 14:37:42 -05:00
AI Christianson fd1025f74c refactor prompts 2025-03-02 13:47:39 -05:00
AI Christianson cd29014282 collect verbose logs in files by default 2025-03-02 12:54:00 -05:00
AI Christianson 09bd7cbf4b add log mode and log level, support for logging to files in .ra-aid/logs/ 2025-03-02 12:18:27 -05:00
AI Christianson f89d40527d log to file 2025-03-01 22:50:54 -05:00
Ariel Frischer e960a68d29
Binary Skipped ascii filetype fix (#108)
* chore: refactor code for improved readability and maintainability

- Standardize variable naming conventions for consistency.
- Improve logging messages for better clarity and debugging.
- Remove unnecessary imports and clean up code structure.
- Enhance error handling and logging in various modules.
- Update comments and docstrings for better understanding.
- Optimize imports and organize them logically.
- Ensure consistent formatting across files for better readability.
- Refactor functions to reduce complexity and improve performance.
- Add missing type hints and annotations for better code clarity.
- Improve test coverage and organization in test files.

style(tests): apply consistent formatting and spacing in test files for improved readability and maintainability

* chore(tests): remove redundant test for ensure_tables_created with no models to streamline test suite and reduce maintenance overhead

* fix(memory.py): update is_binary_file function to correctly identify binary files by returning True for non-text mime types
2025-02-28 06:47:35 -05:00
AI Christianson 65b8619517 aider-free mode 2025-02-26 20:15:00 -05:00
AI Christianson 724dbd4fda db migrations 2025-02-26 16:21:38 -05:00
AI Christianson dbf4d954e1 base db infra 2025-02-26 11:44:18 -05:00
AI Christianson b600bd8d48 show version at startup 2025-02-24 15:45:56 -05:00
AI Christianson 04913bdaf3 fix bug where model selection on anthropic was always using default 2025-02-24 14:35:09 -05:00
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 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
Ariel Frischer 7c828053d3 chore(main.py): remove deprecated fallback tool arguments to simplify configuration and reduce complexity 2025-02-14 14:40:46 -08:00
Ariel Frischer 56ddd967c0 fix(imports): remove redundant import of models_params in __main__.py for cleaner code
style(fallback_handler.py): format error message for better readability
style(test_llm.py): format exception assertion for better readability
2025-02-14 13:54:36 -08:00
Ariel Frischer 0df5d43333 feat(main.py): import models_params and set default temperature for models that support it to improve user experience
fix(ciayn_agent.py): update fallback tool error messages to use FallbackToolExecutionError for better error handling
fix(config.py): remove unnecessary blank line to maintain code style consistency
fix(fallback_handler.py): raise FallbackToolExecutionError for better error clarity when tools are not found
fix(llm.py): set default temperature to 0.7 and notify user when not provided for models that support it
test(test_llm.py): update tests to check for default temperature behavior and improve error messages for unsupported providers
2025-02-14 13:50:32 -08: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
Jose M Leon 9bd0edfd10
FEAT print config at the beginning (#88) 2025-02-12 18:52:24 -05:00
AI Christianson 7bae09e829 add pyte; improve status panel output 2025-02-12 17:21:03 -05:00
AI Christianson a169ed8517 disable put_complete_file_contents; improve prompts; improve status panel output 2025-02-12 16:20:24 -05:00
AI Christianson 905ed2c8fc improve expert model auto detection 2025-02-12 15:55:47 -05:00