Commit Graph

652 Commits

Author SHA1 Message Date
Ariel Frischer 9b0027a922
Merge pull request #90 from ariel-frischer/fallback-tools
Experimental Tool Fallback Handler
2025-02-17 15:39:49 -08: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
AI Christianson 13aa77a389 add vercel analytics to docs 2025-02-17 14:22:50 -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 e9d578c2dc
chore(dependabot): add dependabot configuration for daily pip updates to automate dependency management (#94) 2025-02-15 06:57:31 -05:00
AI Christianson 7624d3c006 update README 2025-02-14 19:08:17 -05:00
AI Christianson 16760d513b update README with links to docs 2025-02-14 19:03:59 -05:00
AI Christianson 28beca458a favicon 2025-02-14 18:03:56 -05:00
AI Christianson 237e227b2a open models docs 2025-02-14 17:51:21 -05: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
AI Christianson fc90bc740d open models docs 2025-02-14 17:42:50 -05:00
Ariel Frischer 119afd8600 refactor(tool_configs.py): remove unused get_all_tools_simple function to clean up code and improve maintainability 2025-02-14 14:41:42 -08:00
Ariel Frischer 7c828053d3 chore(main.py): remove deprecated fallback tool arguments to simplify configuration and reduce complexity 2025-02-14 14:40:46 -08:00
AI Christianson e9fe7e363a fix gh link in docs 2025-02-14 17:33:58 -05:00
AI Christianson 4866ca9995 fix docs order 2025-02-14 17:31:59 -05:00
AI Christianson 3f6c156261 fix docs 2025-02-14 17:30:11 -05:00
AI Christianson 193d4c6955 docs cleanup 2025-02-14 17:25:18 -05:00
AI Christianson feecfea3b8 initial open models docs. 2025-02-14 17:22:26 -05: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
AI Christianson cc16aa81da docs 2025-02-14 17:16:37 -05:00
Ariel Frischer f65918cfd3 refactor(ciayn_agent.py): remove unused variables tool_failure_current_provider and tool_failure_current_model to clean up the code and improve readability 2025-02-14 14:11:33 -08:00
Ariel Frischer 9f78e7d36c chore(issue.md): remove outdated issue documentation for LLM Tool Call Fallback Feature as it is no longer relevant 2025-02-14 14:07:51 -08:00
AI Christianson 81198f91e8 usage guides 2025-02-14 17:04:43 -05: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 27400d6225 feat(ciayn_agent.py): add fallback_fixed_msg to inform users about fallback tool handling
fix(ciayn_agent.py): ensure error message is logged in chat history when fallback response is empty
2025-02-14 13:54:06 -08:00
AI Christianson 1681234ab9 modern web app examples 2025-02-14 16:52:47 -05:00
Ariel Frischer f3a5ce6d8e chore(ciayn_agent.py): remove debug logging for extracted tool call to clean up logs and reduce verbosity 2025-02-14 13:50:43 -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
AI Christianson 3bd0e0e716 added create a modern web app usage example placeholder 2025-02-14 16:45:57 -05:00
AI Christianson 7e3f2e1260 docs cleanup 2025-02-14 16:39:20 -05:00
AI Christianson d399c34640 docs cleanup 2025-02-14 16:39:15 -05:00
AI Christianson 3136e100fe docs cleanup 2025-02-14 16:29:59 -05:00
AI Christianson 1060117871 docs/intro 2025-02-14 16:28:57 -05:00
AI Christianson b8021519a6 installation docs 2025-02-14 16:22:26 -05:00
AI Christianson dbf3d83523 installation docs 2025-02-14 16:20:02 -05:00
AI Christianson 35cd07c324 uv install 2025-02-14 16:14:37 -05:00
Ariel Frischer 6970a885e4 chore(docs): update documentation and assets for RA.Aid project using Docusaurus
- Add new versioned documentation for RA.Aid project.
- Include installation instructions, quick starts, and markdown features.
- Add configuration files for Docusaurus setup.
- Introduce new images and logos for branding.
- Create a sidebar for better navigation in documentation.
- Implement a .gitignore file for the docs directory to exclude unnecessary files.

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

feat(models_params.py): add default_temperature to model parameters for consistency and configurability
refactor(interactive.py): enhance run_interactive_command to support expected runtime and improve output capture
fix(prompts.py): update instructions to clarify file modification methods
refactor(provider_strategy.py): streamline expert model selection logic for clarity and maintainability
chore(tool_configs.py): update tool imports to reflect changes in write_file functionality
refactor(agent.py): enhance LLM initialization to include temperature and improve error handling
feat(memory.py): normalize file paths in emit_related_files to prevent duplicates
feat(programmer.py): add get_aider_executable function to retrieve the aider executable path
test: add comprehensive tests for new features and refactor existing tests for clarity and coverage
2025-02-14 13:11:10 -08:00
AI Christianson a805d1f0ad tabs 2025-02-14 16:10:41 -05:00
AI Christianson 7ef1cd8a67 clean up docs 2025-02-14 16:05:22 -05: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
AI Christianson 0e8d26b4cd api key instructions 2025-02-14 15:55:50 -05:00
AI Christianson 183c06ce46 docs 2025-02-14 15:53:44 -05:00
AI Christianson 2287d7a97e docs 2025-02-14 15:22:51 -05:00