Commit Graph

515 Commits

Author SHA1 Message Date
AI Christianson 3af8780f51 base types for abstracting output 2025-02-24 13:50:25 -05:00
AI Christianson 2c18655fb7 bump langgraph/langchain versions 2025-02-24 13:33:25 -05:00
dancompton e5593305d3
fix: f-string unmatched [ (#104) 2025-02-20 19:46:26 -05:00
AI Christianson ba1c0f7b38 fix tests 2025-02-19 20:06:41 -05:00
AI Christianson 5d262206ec version bump 2025-02-19 20:01:49 -05:00
AI Christianson f9c83d496c Reapply "add app headers for openrouter"
This reverts commit 56ccd938f7.
2025-02-19 19:33:34 -05:00
user 56ccd938f7 Revert "add app headers for openrouter"
This reverts commit 0eb2176ee5.
2025-02-19 19:25:41 -05:00
AI Christianson 0eb2176ee5 add app headers for openrouter 2025-02-19 19:22:18 -05:00
Ariel Frischer 396d7033fa
Show fallback models in config panel (#103)
* feat(readme): update experimental fallback handler description for clarity and add recommendation for OPENAI_API_KEY
feat(main.py): refactor status display logic into a separate build_status function for better readability and maintainability
feat(fallback_handler.py): add debug logging for fallback handler model selection process
chore(todo.md): create a new TODO file to track future improvements and tasks

* chore(todo.md): remove outdated TODO list file to clean up the repository

* feat(main.py): add wrench emoji to FallbackHandler status message for better visibility
2025-02-18 23:15:18 -05:00
AI Christianson ca49e509a8 use create_react_agent for sonnet via openrouter 2025-02-18 22:09:06 -05:00
Ariel Frischer 2cde1f0392
fix(dependencies): update langgraph and aider-chat versions for compatibility and improvements (#98)
feat(dependencies): specify minimum version for litellm to ensure required features are available
2025-02-18 18:14:34 -05:00
AI Christianson ba92f49a91 fix bug where we sent reasoning_effort to models that do not support it. fixes #91 2025-02-17 19:08:06 -05:00
AI Christianson 8a2f0efb99 get rid of debug print 2025-02-17 18:54:30 -05:00
Ariel Frischer 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