Commit Graph

494 Commits

Author SHA1 Message Date
AI Christianson 186904c0ca added human input table 2025-03-02 20:06:04 -05:00
AI Christianson d4353b1824 localize delete_key_snippets with gc agent 2025-03-02 19:56:42 -05:00
AI Christianson 332cbec826 key snippet gc 2025-03-02 19:41:48 -05:00
AI Christianson 772ce3e049 only access snippets via repository 2025-03-02 19:33:03 -05:00
AI Christianson cb3504016f fix tests 2025-03-02 19:18:45 -05:00
AI Christianson 038e7b886c key snippets db 2025-03-02 19:06:51 -05:00
AI Christianson be2eb298a5 improve prompts 2025-03-02 16:31:33 -05:00
AI Christianson 073c68d010 cleanup 2025-03-02 16:30:22 -05:00
AI Christianson 746649a1bb cleanup 2025-03-02 16:20:36 -05:00
AI Christianson 935a013a4c key facts repository 2025-03-02 16:00:55 -05:00
AI Christianson 8819f463a1 fix output 2025-03-02 15:28:32 -05:00
AI Christianson 7ec6535eef gc fixups 2025-03-02 15:18:16 -05:00
AI Christianson 2418506d7e gc status panels 2025-03-02 15:04:25 -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 17ab6d2a50 refactor: agents/ -> agent_backends/ 2025-03-02 14:16:15 -05:00
AI Christianson 5736144d89 remove old prompts.py 2025-03-02 13:52:45 -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
AI Christianson 23d5e267f4 key fact db 2025-03-01 22:41:35 -05:00
AI Christianson 50d618c8f8 improve prompts 2025-03-01 21:05:18 -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 429f854fb8 catch more rate limit errors 2025-02-27 22:42:06 -05:00
AI Christianson 9924c70471 version bump 2025-02-27 11:45:45 -05:00
AI Christianson 346e22b5cb improve agent crash detection 2025-02-27 11:41:36 -05:00
AI Christianson 9202cf0d6d improve agent_should_exit logic 2025-02-27 10:46:57 -05:00
AI Christianson 9403b8c57f improve agent context inheritance 2025-02-27 10:31:55 -05:00
AI Christianson 6c85a39bbb added agent_should_exit context 2025-02-27 10:14:17 -05:00
AI Christianson 6d2b0a148d support context for ripgrep 2025-02-27 10:04:59 -05:00
AI Christianson a8030104fc version bump 2025-02-27 09:43:22 -05:00
AI Christianson d11393c898 improve chat prompt 2025-02-27 09:42:32 -05:00
AI Christianson fbc4e05d4e version bump 2025-02-27 09:25:06 -05:00
AI Christianson a791e9f2d9 improve prompts 2025-02-27 09:19:31 -05:00
AI Christianson 79ca08137c improve prompts 2025-02-27 09:15:32 -05:00
AI Christianson d6bcf44700 turn request_task_implementation return val into a string and add prompt to fix duplicated work. 2025-02-27 09:06:43 -05:00
AI Christianson 8760e6e152 turn request_implementation return val into a string and add prompt to fix duplicated work. 2025-02-27 08:52:54 -05:00
AI Christianson 1ce52774d7 fix langgraph prebuilt dep; remove modification tools from research phase 2025-02-27 08:36:16 -05:00
AI Christianson c89a92e4f0 prompts + remove oneshot in research 2025-02-26 22:09:04 -05:00
AI Christianson c83815c836 fix new project detection 2025-02-26 21:19:08 -05:00
AI Christianson 9f6089d0d7 improve prompts 2025-02-26 20:50:48 -05:00
AI Christianson 4cfb377bb1 improve prompts 2025-02-26 20:29:18 -05:00
AI Christianson 6b7d2374ee disable related if aider disabled 2025-02-26 20:27:03 -05:00
AI Christianson 65b8619517 aider-free mode 2025-02-26 20:15:00 -05:00
AI Christianson 4aeb52e41d enable file editing tools 2025-02-26 20:01:00 -05:00
AI Christianson 28d9032ca5 agent context 2025-02-26 19:30:08 -05:00
AI Christianson 724dbd4fda db migrations 2025-02-26 16:21:38 -05:00
AI Christianson e6d98737a8 fix logging 2025-02-26 15:25:43 -05:00
AI Christianson dbf4d954e1 base db infra 2025-02-26 11:44:18 -05:00
AI Christianson 012d95cf00 version bump 2025-02-25 19:03:22 -05:00
AI Christianson 9c76745bcc improve binary file filtering 2025-02-25 18:34:28 -05:00
AI Christianson 94d655ce91 skip binary files; update deps 2025-02-25 18:32:29 -05:00
AI Christianson 8d1e4a96bd improve prompts 2025-02-25 17:41:17 -05:00
AI Christianson 0199f450ee version bump 2025-02-25 17:14:29 -05:00
AI Christianson 3f2a706ff6 improve prompts 2025-02-25 17:13:17 -05:00
AI Christianson 8c8ae5384d version bump 2025-02-25 15:34:03 -05:00
AI Christianson d3b4d9b8d9 fix capture bug 2025-02-25 15:13:33 -05:00
AI Christianson 7ae4c61af6 fix interactive capture; fix prompts 2025-02-25 14:59:13 -05:00
AI Christianson eede183110 fix junk in command capture 2025-02-25 14:46:53 -05:00
AI Christianson 2e13b2bf4d remove file 2025-02-25 14:16:50 -05:00
AI Christianson 804ebd76a5 fix windows 2025-02-25 14:15:28 -05:00
AI Christianson f14863a06d improve interactive history capture 2025-02-25 14:02:43 -05:00
AI Christianson a866b38883 fix linux interactive commands 2025-02-25 13:42:00 -05:00
AI Christianson ea44e5dd6a linux fixes 2025-02-25 13:41:55 -05:00
Mark Varkevisser d163a74c47
Add Windows compatibility improvements (#105)
* Add Windows compatibility improvements

1. Add error handling for Windows-specific modules
2. Update README with Windows installation instructions
3. Add Windows-specific tests
4. Improve cross-platform support in interactive.py

* Fix: Add missing subprocess import in Windows compatibility tests

* Improve Windows compatibility:

1. Add detailed error handling for Windows I/O operations
2. Enhance timeout messages with more descriptive information
3. Add comprehensive comments explaining Windows-specific code

* Fix WebUI: Improve message display, add syntax highlighting, animations, and fix WebSocket communication
2025-02-25 13:41:29 -05:00
AI Christianson 2f132bdeb5 version bump 2025-02-25 11:14:52 -05:00
AI Christianson 495ed838ea upgrade aider; optimize prompts 2025-02-25 11:12:12 -05:00
AI Christianson d8f1618b2b prompt improvements 2025-02-25 08:59:55 -05:00
AI Christianson 860eb484c7 prompt improvements 2025-02-25 08:54:29 -05:00
AI Christianson ac9aeece2a prompt improvements 2025-02-24 20:05:50 -05:00
AI Christianson 7b4359eb28 version bump 2025-02-24 19:57:22 -05:00
AI Christianson c37e5b0ac1 optimize prompts 2025-02-24 19:56:47 -05:00
AI Christianson 47d548180a version bump 2025-02-24 19:15:18 -05:00
AI Christianson 52722f6600 use latest aider; update tool calling prompts and minimize return values to improve tool calling performance 2025-02-24 19:08:12 -05:00
AI Christianson cc93961bf3 version bump 2025-02-24 15:49:47 -05:00
AI Christianson b600bd8d48 show version at startup 2025-02-24 15:45:56 -05:00
AI Christianson 6591400ad6 fix anthropic key error msg 2025-02-24 15:35:45 -05:00
AI Christianson 7f85e93431 sonnet 3.7 2025-02-24 14:44:40 -05:00
AI Christianson 04913bdaf3 fix bug where model selection on anthropic was always using default 2025-02-24 14:35:09 -05:00
dancompton e5593305d3
fix: f-string unmatched [ (#104) 2025-02-20 19:46:26 -05:00
AI Christianson 5d262206ec version bump 2025-02-19 20:01:49 -05:00
AI Christianson f9c83d496c Reapply "add app headers for openrouter"
This reverts commit 56ccd938f7.
2025-02-19 19:33:34 -05:00
user 56ccd938f7 Revert "add app headers for openrouter"
This reverts commit 0eb2176ee5.
2025-02-19 19:25:41 -05:00
AI Christianson 0eb2176ee5 add app headers for openrouter 2025-02-19 19:22:18 -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
AI Christianson ca49e509a8 use create_react_agent for sonnet via openrouter 2025-02-18 22:09:06 -05:00
AI Christianson ba92f49a91 fix bug where we sent reasoning_effort to models that do not support it. fixes #91 2025-02-17 19:08:06 -05:00
AI Christianson 8a2f0efb99 get rid of debug print 2025-02-17 18:54:30 -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 e6ba8f5dff
Merge pull request #95 from ariel-frischer/test-cmd-args
feat: add `--test-cmd-timeout` option to specify timeout for test command
2025-02-17 15:25:09 -08:00
AI Christianson 7c3c616531 use base latency in programmer tool 2025-02-17 18:21:49 -05: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 685d098f21 feat(docusaurus): add Vercel analytics plugin to enhance performance tracking
feat(models_params.py): add DEFAULT_BASE_LATENCY constant and integrate it into model parameters for latency management
fix(package.json): add @docusaurus/plugin-vercel-analytics dependency to support new analytics feature
2025-02-17 15:19:01 -08:00
AI Christianson e8e4dac038 add base latency model param 2025-02-17 18:11:33 -05: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 9ff09b9b93 refactor(shell.py): rename expected_runtime_seconds parameter to timeout for clarity and consistency in function signature 2025-02-17 10:45:49 -08:00
Ariel Frischer 81354df48b fix(ciayn_agent.py): correct spelling of "execute" in error message for clarity
refactor(ciayn_agent.py): improve error handling by chaining exceptions for better debugging
docs(output.py): update docstring to include agent_type parameter for clarity on agent behavior
2025-02-14 14:45:33 -08:00
Ariel Frischer 4a2a0b691c chore(llm.py): remove unused import of BaseMessage to clean up code and improve readability 2025-02-14 14:42:56 -08:00