Commit Graph

197 Commits

Author SHA1 Message Date
AI Christianson 13729f16ce AST-based parsing and validation of tool calls 2025-03-04 01:32:59 -05:00
AI Christianson 9cae0ef1fc project file and ciayn improvements 2025-03-04 00:49:48 -05:00
AI Christianson bd02bffc55 ciayn fixes 2025-03-03 23:50:55 -05:00
AI Christianson 035544c77a research notes repo 2025-03-03 22:31:51 -05:00
AI Christianson 6562b6c332 fix binary file detection 2025-03-03 18:43:49 -05:00
AI Christianson 5202d2e7f3 use context vars for human input repo 2025-03-03 17:58:55 -05:00
AI Christianson ffd1ef15d4 adjust gc thresholds 2025-03-03 17:00:08 -05:00
AI Christianson 36e4004db0 use context vars for key facts repo 2025-03-03 16:58:03 -05:00
AI Christianson dd9af78693 eradicate dead coad 2025-03-03 08:06:12 -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 f88ad5bc7a associate key facts and snippets with latest human input 2025-03-02 20:18:00 -05:00
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 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 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 23d5e267f4 key fact db 2025-03-01 22:41:35 -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 346e22b5cb improve agent crash detection 2025-02-27 11:41:36 -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 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 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 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 3f2a706ff6 improve prompts 2025-02-25 17:13:17 -05:00
AI Christianson 7ae4c61af6 fix interactive capture; fix prompts 2025-02-25 14:59:13 -05:00
AI Christianson 495ed838ea upgrade aider; optimize prompts 2025-02-25 11:12:12 -05:00
AI Christianson ac9aeece2a prompt improvements 2025-02-24 20:05:50 -05:00
AI Christianson c37e5b0ac1 optimize prompts 2025-02-24 19:56:47 -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 7f85e93431 sonnet 3.7 2025-02-24 14:44:40 -05:00
dancompton e5593305d3
fix: f-string unmatched [ (#104) 2025-02-20 19:46:26 -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 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 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
AI Christianson 93a3f8ccd7 remove reference to write_file_tool 2025-02-13 09:47:19 -05:00
AI Christianson 1084faaf0b normalize/dedupe files for programmer tool 2025-02-13 09:45:32 -05:00
AI Christianson 098f4a9c53 integrate expected_runtime_seconds with run_shell_command 2025-02-13 08:34:38 -05:00