Commit Graph

198 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 039aa8f22a ciayn improvements 2025-03-03 23:07:58 -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 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 539af1d537 get rid of key snippet global memory refs 2025-03-02 22:00:40 -05:00
AI Christianson d4353b1824 localize delete_key_snippets with gc agent 2025-03-02 19:56:42 -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 935a013a4c key facts repository 2025-03-02 16:00:55 -05:00
AI Christianson 714d55e50a fix tests/ra_aid/tools/test_memory.py::test_emit_key_facts_triggers_cleaner 2025-03-02 15:27:46 -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 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 429f854fb8 catch more rate limit errors 2025-02-27 22:42:06 -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 c83815c836 fix new project detection 2025-02-26 21:19:08 -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 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 dbf4d954e1 base db infra 2025-02-26 11:44:18 -05:00
AI Christianson 840abf96f7 fix tests 2025-02-25 18:38:00 -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 eede183110 fix junk in command capture 2025-02-25 14:46:53 -05:00
AI Christianson a866b38883 fix linux interactive commands 2025-02-25 13:42:00 -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 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 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
AI Christianson ba1c0f7b38 fix tests 2025-02-19 20:06:41 -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
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 69281c31db chore(llm.py): remove unused merge_chat_history function to clean up codebase
chore(test_fallback_handler.py): remove references to the removed merge_chat_history function in tests to maintain consistency
2025-02-14 14:20:11 -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 d5e2e0a9a0 refactor(agent_utils.py, ciayn_agent.py): remove unused import cpm to clean up code and improve readability
style(tests): format code for better readability and consistency in test files
test(tests): update assertions and test cases for better clarity and maintainability
2025-02-14 13:04:41 -08:00
Ariel Frischer 7a2c766824 test(agent_utils): add config parameter to mock_ciayn assertions for better clarity and flexibility in tests 2025-02-13 20:18:02 -08:00
Ariel Frischer 15ce534f8f feat(agent_utils.py): add debug print for config to assist in troubleshooting
feat(ciayn_agent.py): pass config to CiaynAgent for improved functionality
fix(ciayn_agent.py): handle tool execution errors more gracefully with msg_list
feat(fallback_handler.py): enhance handle_failure method to utilize msg_list for better context
feat(fallback_handler.py): implement init_msg_list to manage message history effectively
test(test_fallback_handler.py): add unit tests for init_msg_list to ensure correct behavior
2025-02-13 20:09:21 -08:00
Ariel Frischer 5733eb06f5 fix(test_fallback_handler.py): update lambda function to accept default argument for args to prevent potential errors during invocation 2025-02-13 19:14:06 -08:00
Ariel Frischer cc1945facd feat(agent_utils.py): change SystemMessage to HumanMessage for fallback responses in React to improve message clarity
fix(fallback_handler.py): update tool invocation logic to handle missing tools and raise appropriate exceptions for better error handling
test(tests): add comprehensive tests for fallback handler functionality, including loading models, extracting tool names, and invoking tools to ensure robustness and reliability
2025-02-13 18:48:45 -08:00
Ariel Frischer 09abba512d test(tests): add tests for fallback handler to ensure proper error handling and counter incrementing
feat(tests): introduce FallbackToolExecutionError to improve error specificity in fallback handling tests
2025-02-13 18:21:54 -08:00
Ariel Frischer 15a3291254 refactor(agent_utils.py): remove unnecessary debug log statement to clean up code
refactor(fallback_handler.py): improve error handling by raising a specific exception when all fallback models fail
test(fallback_handler.py): update tests to reflect changes in the fallback handler's error handling and initialization
fix(test_llm.py): update error messages in tests for unsupported providers to be more descriptive and accurate
2025-02-13 18:20:00 -08:00
Ariel Frischer ac13ce746a feat(agent_utils.py): add cpm function import for enhanced logging in run_agent_with_retry
fix(agent_utils.py): set default value of fallback_handler to None in run_agent_with_retry
chore(ciayn_agent.py): comment out debug log for generated code to reduce verbosity
fix(fallback_handler.py): change fallback_enabled config key to experimental_fallback_handler for better clarity
refactor(test_ciayn_agent.py): update invoke method in DummyModel to return AIMessage instead of a custom Response class
test(test_ciayn_agent.py): comment out test_retry_logic_with_failure_recovery for future implementation and focus on existing tests
2025-02-13 17:57:27 -08:00
Ariel Frischer c7712e0114 fix(tests): update type hints in test_agent_utils.py for better clarity and type safety
refactor(tests): modify DummyAgent's stream method to use more descriptive parameter names and types for improved readability
2025-02-13 17:10:26 -08:00
AI Christianson 1084faaf0b normalize/dedupe files for programmer tool 2025-02-13 09:45:32 -05:00
AI Christianson c5c27c9f87 enforce byte limit in interactive commands 2025-02-13 08:03:16 -05:00
AI Christianson e6b34e4ebc normalize related file paths 2025-02-12 22:12:55 -05:00
Jose M Leon 10ad8aa8d5
FIX aider flags (#89) 2025-02-12 21:46:14 -05:00
AI Christianson 18b0ce230e handle raw input in interactive 2025-02-12 17:59:34 -05:00
AI Christianson 1fbaeac308 use aider from the current env 2025-02-12 17:17:30 -05:00
AI Christianson 4d14b9747f fix interactive command input 2025-02-12 17:08:37 -05:00
Ariel Frischer af9f95ceb1 refactor(agent_utils.py): remove the _handle_tool_execution_error function and simplify error handling in run_agent_with_retry
feat(fallback_handler.py): enhance handle_failure method to extract tool name from ToolExecutionError and improve fallback logic
fix(exceptions.py): update ToolExecutionError to include base_message for better error context
feat(output.py): add base_message to ToolExecutionError for improved debugging
chore(tool_configs.py): update get_all_tools function to specify return type
style(logging_config.py): reorder imports for consistency
test(tests): add tests for new error handling and fallback logic in agent_utils and fallback_handler
2025-02-12 13:07:12 -08:00
AI Christianson e3a705eb9b auto detect openai expert models 2025-02-12 15:40:21 -05:00
AI Christianson c9d7e90312 lower interactive shell history to conserve context; improve prompts 2025-02-12 15:26:48 -05:00
AI Christianson d54203b819 fix tests 2025-02-12 13:52:45 -05:00
AI Christianson 087009918b fix tests 2025-02-12 13:50:45 -05:00
AI Christianson a1371fc7e0 support default temp on a per-model basis; show status panel 2025-02-12 13:38:52 -05:00
AI Christianson 264f5025ed Refactor write file tool so it is easier for LLMs to use properly. 2025-02-12 11:51:19 -05:00
Ariel Frischer 1388067769 refactor(agent_utils.py): refactor run_agent_with_retry function for better readability and maintainability by extracting helper functions
feat(agent_utils.py): add new helper functions for handling API errors and managing interrupt signals
fix(agent_utils.py): improve error handling in tool execution and retry logic
feat(fallback_handler.py): enhance fallback handling by binding tools correctly during retries
test(tests): add unit tests for new helper functions and refactored logic in agent_utils.py
2025-02-11 12:16:04 -08:00
Ariel Frischer 55abf6e5dd feat(fallback_handler): implement FallbackHandler class to manage tool failures and fallback logic
refactor(ciayn_agent): integrate FallbackHandler into CiaynAgent for improved failure handling
fix(agent_utils): add missing newline for better readability in run_agent_with_retry function
test(fallback_handler): add unit tests for FallbackHandler to ensure correct failure handling and fallback logic
2025-02-10 23:37:15 -08:00
Ariel Frischer d8ee4e04f4 feat(fallback): implement automatic fallback to alternative LLM models on consecutive failures to enhance user experience and prevent infinite error loops
refactor(ciayn_agent): restructure tool failure handling to track consecutive failures and fallback attempts more effectively
fix(logging): add pretty logging option for improved log readability
chore(config): define valid providers for LLM selection and update fallback model loading logic
test(ciayn_agent): add unit tests for fallback logic and tool failure handling to ensure reliability and correctness
2025-02-10 14:13:19 -08:00
AI Christianson 589233aaff fix tests 2025-02-10 12:13:14 -05:00
Ariel Frischer 45b993cfd0 feat(issue): add LLM Tool Call Fallback Feature documentation to outline the new functionality for automatic fallback to alternative LLM models after consecutive failures
feat(ciayn_agent): implement fallback mechanism in CiaynAgent to handle tool call failures and switch to alternative models
feat(__main__): add command line arguments for fallback configuration in the main application
feat(llm): add validation for required environment variables for LLM providers and merge chat histories during fallback
fix(config): define default values for maximum tool failures in configuration
test(ciayn_agent): add unit tests for fallback logic and tool call execution with retries and error handling
test(llm): enhance tests for LLM initialization and environment variable validation
2025-02-09 22:07:23 -08:00
Jose M Leon 00a455d586
FIX do not default to o1 model (#82) 2025-02-08 20:28:10 -05:00
AI Christianson f40e11ee21 improve work logging; use reasoning_effort=high for openai expert models; improve prompts 2025-02-08 14:36:08 -05:00
AI Christianson 5861f3a2bf Adjust token/bytes ratio to resolve errors on swebench-lite. 2025-02-08 08:07:37 -05:00
AI Christianson 038f057e59 Fix tests. 2025-02-02 18:53:01 -05:00
Ariel Frischer 1cc5b8e16c refactor: clean up imports and improve code formatting for better readability
fix: ensure proper error handling and logging in WebSocket connections
feat: enhance WebSocket server to handle streaming and error messages more effectively
chore: update model parameters and configurations for better performance and maintainability
test: improve test coverage for model token limits and agent creation logic
2025-02-01 13:00:15 -08:00
Ariel Frischer c2ba638a95 feat(agent_utils.py): enhance get_model_token_limit to support agent types for better configuration management
test(agent_utils.py): add tests for get_model_token_limit with different agent types to ensure correct functionality
2025-02-01 12:55:36 -08:00
AI Christianson f7e02fc98e Refactor models_tokens to be models_params so we can track multiple parameters on a per-model basis. 2025-01-31 16:05:44 -05:00
AI Christianson 7913df4db1 fix tests 2025-01-31 14:46:01 -05:00
Ariel Frischer b00fd47573
feat(Makefile): add commands for code checking and fixing using ruff (#63)
refactor(ra_aid/__init__.py): reorganize imports for better readability
refactor(ra_aid/__main__.py): clean up imports and improve structure
refactor(ra_aid/agent_utils.py): streamline imports and improve organization
refactor(ra_aid/agents/ciayn_agent.py): enhance code structure and readability
refactor(ra_aid/chat_models/deepseek_chat.py): tidy up imports for clarity
refactor(ra_aid/config.py): maintain consistent formatting and organization
refactor(ra_aid/console/__init__.py): improve import structure for clarity
refactor(ra_aid/console/cowboy_messages.py): enhance code readability
refactor(ra_aid/console/formatting.py): clean up formatting functions for consistency
refactor(ra_aid/console/output.py): improve output handling for better clarity
refactor(ra_aid/dependencies.py): enhance dependency checking structure
refactor(ra_aid/env.py): streamline environment validation logic
refactor(ra_aid/exceptions.py): improve exception handling structure
refactor(ra_aid/file_listing.py): enhance file listing functionality
refactor(ra_aid/llm.py): improve language model initialization logic
refactor(ra_aid/logging_config.py): tidy up logging configuration
refactor(ra_aid/models_tokens.py): maintain consistent formatting
refactor(ra_aid/proc/interactive.py): enhance subprocess handling
refactor(ra_aid/project_info.py): improve project information handling
refactor(ra_aid/project_state.py): streamline project state management
refactor(ra_aid/provider_strategy.py): enhance provider validation logic
refactor(ra_aid/tests/test_env.py): improve test structure and readability
refactor(ra_aid/text/__init__.py): maintain consistent import structure
refactor(ra_aid/text/processing.py): enhance text processing functions
refactor(ra_aid/tool_configs.py): improve tool configuration structure
refactor(ra_aid/tools/__init__.py): tidy up tool imports for clarity
refactor(ra_aid/tools/agent.py): enhance agent tool functionality
refactor(ra_aid/tools/expert.py): improve expert tool handling
refactor(ra_aid/tools/file_str_replace.py): streamline file string replacement logic
refactor(ra_aid/tools/fuzzy_find.py): enhance fuzzy find functionality
refactor(ra_aid/tools/handle_user_defined_test_cmd_execution.py): improve test command execution logic
refactor(ra_aid/tools/human.py): enhance human interaction handling
refactor(ra_aid/tools/list_directory.py): improve directory listing functionality
refactor(ra_aid/tools/memory.py): streamline memory management functions
refactor(ra_aid/tools/programmer.py): enhance programming task handling
refactor(ra_aid/tools/read_file.py): improve file reading functionality
refactor(ra_aid/tools/reflection.py): maintain consistent function structure
refactor(ra_aid/tools/research.py): enhance research tool handling
refactor(ra_aid/tools/ripgrep.py): improve ripgrep search functionality
refactor(ra_aid/tools/ripgrep.py): enhance ripgrep search command handling
refactor(ra_aid/tools/ripgrep.py): improve search result handling
refactor(ra_aid/tools/ripgrep.py): streamline search parameters handling
refactor(ra_aid/tools/ripgrep.py): enhance error handling for search operations
refactor(ra_aid/tools/ripgrep.py): improve output formatting for search results
refactor(ra_aid/tools/ripgrep.py): maintain consistent command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search result display
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(ra_aid/tools/ripgrep.py): enhance search command execution logic
refactor(ra_aid/tools/ripgrep.py): improve search command output formatting
refactor(ra_aid/tools/ripgrep.py): streamline search command construction
refactor(ra_aid/tools/ripgrep.py): enhance search command error handling
refactor(ra_aid/tools/ripgrep.py): improve search command output handling
refactor(ra_aid/tools/ripgrep.py): maintain consistent search command structure
refactor(

style(server.ts): update variable naming from lowercase 'port' to uppercase 'PORT' for consistency and clarity
feat(server.ts): allow server to listen on a configurable port using process.env.PORT or default to PORT
style(shell.py): reorder import statements for better organization and readability
style(shell.py): remove unnecessary blank lines for cleaner code
style(web_search_tavily.py): reorder import statements for better organization
style(write_file.py): format code for consistency and readability
style(extract_changelog.py): format code for consistency and readability
style(generate_swebench_dataset.py): format code for consistency and readability
style(test_ciayn_agent.py): format code for consistency and readability
style(test_cowboy_messages.py): format code for consistency and readability
style(test_interactive.py): format code for consistency and readability
style(test_agent_utils.py): format code for consistency and readability
style(test_default_provider.py): format code for consistency and readability
style(test_env.py): format code for consistency and readability
style(test_llm.py): format code for consistency and readability
style(test_main.py): format code for consistency and readability
style(test_programmer.py): format code for consistency and readability
style(test_provider_integration.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_utils.py): format code for consistency and readability
style(test_execution.py): format code for consistency and readability
style(test_expert.py): format code for consistency and readability
style(test_file_str_replace.py): format code for consistency and readability
style(test_fuzzy_find.py): format code for consistency and readability
style(test_handle_user_defined_test_cmd_execution.py): format code for consistency and readability
style(test_list_directory.py): format code for consistency and readability
style(test_user_defined_test_cmd_execution.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and readability
style(test_tool_configs.py): format code for consistency and

style(tests): standardize string quotes to double quotes for consistency across test files
style(tests): format code for better readability by adjusting spacing and line breaks
style(tests): remove unnecessary blank lines to improve code cleanliness
style(tests): ensure consistent use of whitespace around operators and after commas
style(tests): align comments and docstrings for better visual structure and clarity
2025-01-29 16:38:58 -05:00
Jose M Leon b44f1c73eb
FIX prevent duplicate files (#64) 2025-01-29 14:48:02 -05:00
Jose M Leon 90b8875a73
REFACTOR handle user defined test cmd (#59) 2025-01-27 08:41:02 -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 5240fb2617
feat(agent_utils.py): integrate litellm to retrieve model token limits for better flexibility (#51)
fix(agent_utils.py): rename max_tokens to max_input_tokens for clarity in state_modifier function
fix(models_tokens.py): update deepseek-reasoner token limit to 64000 for accuracy
test(agent_utils.py): add tests for litellm integration and fallback logic in get_model_token_limit function
2025-01-23 14:48:30 -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 7a68de2d06
Add Aider config File Argument Support (#43)
* feat(main.py): add --aider-config argument to specify aider config file path for better configuration management
feat(programmer.py): include aider config in command if specified to enhance functionality
test: add unit test for aider config flag inclusion in command to ensure correct behavior
chore: update requirements-dev.txt to include pytest-mock for testing enhancements

* test(tests/ra_aid/test_programmer.py): remove unnecessary comments to improve code readability and maintainability
2025-01-21 13:17:59 -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
Ariel Frischer 32fcf914ed
Set Default Max Token Limit with Provider/Model Dictionary and Limit Tokens for Anthropic Claude React Agent (#45)
* feat(agent_utils.py): add get_model_token_limit function to retrieve token limits for models based on provider and model name
feat(models_tokens.py): create models_tokens module to store token limits for various models and providers
test(agent_utils.py): implement unit tests for get_model_token_limit and create_agent functions to ensure correct behavior and error handling

* test: Add unit tests for token limiting and agent creation functionality

* fix: Correct indentation and add missing test function for error handling

* fix: Update test assertion to use messages_modifier instead of state_modifier

* feat(agent_utils.py): add limit_tokens function to manage message token limits and preserve system message
fix(agent_utils.py): update get_model_token_limit to handle exceptions and return None on error
fix(ciayn_agent.py): set default max_tokens to DEFAULT_TOKEN_LIMIT in CiaynAgent initialization
feat(models_tokens.py): define DEFAULT_TOKEN_LIMIT for consistent token limit management across agents
style(agent_utils.py): improve code formatting and consistency in function definitions and comments
style(agent_utils.py): refactor imports for better organization and readability
fix(test_agent_utils.py): correct test assertion to use state_modifier instead of messages_modifier for create_agent function

* refactor(agent_utils.py): improve docstring clarity and formatting for limit_tokens function to enhance readability
refactor(test_agent_utils.py): format test assertions for consistency and readability in agent creation tests

* feat: Update limit_tokens function to support Dict type for state parameter

* feat: Update limit_tokens to handle both list and dict input types

* refactor: Extract duplicate token trimming logic into helper function

* refactor: Rename and update message trimming functions for clarity

* refactor: Extract agent kwargs logic into a helper method for reuse

* refactor: Rename _build_agent_kwargs to build_agent_kwargs for clarity

* fix: Ensure state_modifier is passed correctly for agent creation

* test: Add tests for create_agent token limiting configuration

* refactor: Simplify CiaynAgent instantiation to only use max_tokens parameter

* refactor: Remove is_react_agent parameter from build_agent_kwargs function

* test: Fix test assertions for state_modifier in agent creation tests

* fix: Update agent creation to handle checkpointer and simplify tests

* test: Remove unnecessary assertions from agent creation test

* feat: Implement token limiting configuration for create_agent function

* refactor: Remove unused model info and token limit retrieval code

* test: Fix assertion errors in agent creation tests and update state_modifier handling

* test: Remove commented-out code and clarify assertions in tests

* test: Fix assertion in test_create_agent_anthropic_token_limiting_disabled

* feat(main.py): add --limit-tokens argument to control token limiting in agent state
fix(main.py): include limit_tokens in configuration to ensure proper state management

* test: Refactor agent creation tests for improved readability and consistency

* test: Modify error handling in create_agent test to use side_effect on get_model_token_limit

* test: Improve error handling in create_agent test to verify fallback behavior

* test: Trigger exception on get_model_token_limit in error handling test

* refactor(agent_utils.py): remove unused config parameter from create_agent function to simplify the function signature
fix(agent_utils.py): ensure config is always retrieved from _global_memory with a default value to prevent potential errors
test(tests/test_agent_utils.py): remove outdated test for create_agent error handling to clean up the test suite

* feat: Add debug print for agent_kwargs in create_agent function

* refactor: Replace lambda with inner function for state_modifier in agent_utils

* refactor: Simplify limit_tokens function to return only message sequences

* feat: Add debug print statements to show token trimming details in trim_messages

* PAIN

* feat(main.py): add debug print statement for args.chat to assist in troubleshooting chat mode
feat(agent_utils.py): implement estimate_messages_tokens function to calculate total tokens in messages
refactor(agent_utils.py): replace token counting logic in trim_messages_with_removal with estimate_messages_tokens for clarity
refactor(agent_utils.py): modify state_modifier to accept model and max_tokens parameters for better flexibility
refactor(agent_utils.py): update build_agent_kwargs to pass model to state_modifier for improved functionality

* feat: Add .direnvrc to manage Python virtual environment activation

* refactor: Update state_modifier to handle first message token count and trim messages

* chore: remove unused .direnvrc file to clean up project structure
feat: add .envrc to .gitignore to prevent environment configuration file from being tracked
fix: update help text for --disable-limit-tokens argument for clarity
refactor: clean up imports in agent_utils.py for better readability
refactor: remove unused functions and comments in agent_utils.py to streamline code
test: add unit tests for state_modifier function to ensure correct message trimming behavior

* refactor: Remove commented-out code in create_agent function

* feat: Add is_anthropic_claude method to check provider and model name

* fix: Correct search/replace block to match existing lines in agent_utils.py

* fix(main.py): update help text for --disable-limit-tokens argument to clarify it applies to react agents
refactor(agent_utils.py): streamline token limit retrieval and improve readability by removing redundant checks and restructuring code
refactor(agent_utils.py): modify build_agent_kwargs to use is_anthropic_claude for clarity and maintainability

* test: Update tests to pass config argument to get_model_token_limit()

* refactor(agent_utils.py): remove unnecessary print statements and improve function signatures for clarity
refactor(agent_utils.py): consolidate provider and model_name retrieval into config parameter for better maintainability

* test: Remove redundant token limiting tests from agent creation logic

* test: Refactor test_state_modifier to use mock_messages fixture

* test(tests): update test description for clarity on state_modifier behavior and use mock_messages for assertions to ensure consistency

* refactor(agent_utils.py): simplify token limit retrieval by removing unnecessary variable initialization and defaulting to None in get method

* chore(main.py): remove debug print statement for args.chat to clean up output
2025-01-20 14:41:29 -05:00
AI Christianson 63be5248e1 Extract tool reflection. 2025-01-09 15:35:14 -05:00
AI Christianson b631a4bf57 Get project info programmatically to save tokens. 2025-01-09 14:43:42 -05:00
AI Christianson 4b24dbe960 Improve work log handling. 2025-01-09 13:42:26 -05:00
AI Christianson 094257e0af Add unit tests for CiaynAgent._does_not_conform_to_pattern. 2025-01-09 11:51:08 -05:00
AI Christianson 0449564109 Fix bug where directories are added as related files. 2025-01-08 17:04:24 -05:00