Commit Graph

572 Commits

Author SHA1 Message Date
AI Christianson 0afed55809 get rid of dead code around implementation_requested 2025-03-04 13:10:52 -05:00
AI Christianson 7845f4d876 remove dead code 2025-03-04 12:46:14 -05:00
AI Christianson e9c6aa7b4f prompt improvements 2025-03-04 09:51:02 -05:00
AI Christianson a0775e3792 ciayn fixes 2025-03-04 09:20:46 -05:00
AI Christianson fb030e9049 disallow repeat tool calls 2025-03-04 08:33:22 -05:00
AI Christianson 5dfb41b000 ignore .ra-aid in rg by default 2025-03-04 08:02:22 -05:00
AI Christianson 3d5b5850b4 multiple tool results in ciayn 2025-03-04 07:59:05 -05:00
AI Christianson bee7416bf2 ciayn fixes 2025-03-04 07:44:50 -05:00
AI Christianson 535c870568 fix validation 2025-03-04 01:48:12 -05:00
AI Christianson 13729f16ce AST-based parsing and validation of tool calls 2025-03-04 01:32:59 -05:00
AI Christianson 4859a4cdc5 fixes 2025-03-04 00:57:15 -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 e45cd78c7f better ciayn status 2025-03-03 23:40:15 -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 5202d2e7f3 use context vars for human input repo 2025-03-03 17:58:55 -05:00
AI Christianson fc58aa0b77 key snippets context var 2025-03-03 17:27:41 -05:00
AI Christianson ffd1ef15d4 adjust gc thresholds 2025-03-03 17:00:08 -05:00
AI Christianson 36e4004db0 use context vars for key facts repo 2025-03-03 16:58:03 -05:00
AI Christianson dd9af78693 eradicate dead coad 2025-03-03 08:06:12 -05:00
AI Christianson bc9d11e6e2 remove refs to global memory key snippets (dead code/obsolete) 2025-03-03 07:54:37 -05:00
AI Christianson bd05dee716 include key facts/snippets in chat mode 2025-03-02 21:29:18 -05:00
AI Christianson 1c95080897 cleanup 2025-03-02 20:56:16 -05:00
AI Christianson 80e8d9134b include last human input in research prompt 2025-03-02 20:54:39 -05:00
AI Christianson 9a69bb173e do not gc key facts/snippets associated with current human input 2025-03-02 20:27:52 -05:00
AI Christianson f88ad5bc7a associate key facts and snippets with latest human input 2025-03-02 20:18:00 -05:00
AI Christianson 186904c0ca added human input table 2025-03-02 20:06:04 -05:00
AI Christianson d4353b1824 localize delete_key_snippets with gc agent 2025-03-02 19:56:42 -05:00
AI Christianson 332cbec826 key snippet gc 2025-03-02 19:41:48 -05:00
AI Christianson 772ce3e049 only access snippets via repository 2025-03-02 19:33:03 -05:00
AI Christianson cb3504016f fix tests 2025-03-02 19:18:45 -05:00
AI Christianson 038e7b886c key snippets db 2025-03-02 19:06:51 -05:00
AI Christianson be2eb298a5 improve prompts 2025-03-02 16:31:33 -05:00
AI Christianson 073c68d010 cleanup 2025-03-02 16:30:22 -05:00
AI Christianson 746649a1bb cleanup 2025-03-02 16:20:36 -05:00
AI Christianson 935a013a4c key facts repository 2025-03-02 16:00:55 -05:00
AI Christianson 8819f463a1 fix output 2025-03-02 15:28:32 -05:00
AI Christianson 7ec6535eef gc fixups 2025-03-02 15:18:16 -05:00
AI Christianson 2418506d7e gc status panels 2025-03-02 15:04:25 -05:00
AI Christianson d41416b4d7 run gc in db ctx 2025-03-02 14:52:11 -05:00
AI Christianson 1855cc3252 cleaner -> gc 2025-03-02 14:44:39 -05:00
AI Christianson 14c9bdfdc7 key facts gc 2025-03-02 14:37:42 -05:00
AI Christianson 17ab6d2a50 refactor: agents/ -> agent_backends/ 2025-03-02 14:16:15 -05:00
AI Christianson 5736144d89 remove old prompts.py 2025-03-02 13:52:45 -05:00
AI Christianson fd1025f74c refactor prompts 2025-03-02 13:47:39 -05:00
AI Christianson cd29014282 collect verbose logs in files by default 2025-03-02 12:54:00 -05:00
AI Christianson 09bd7cbf4b add log mode and log level, support for logging to files in .ra-aid/logs/ 2025-03-02 12:18:27 -05:00
AI Christianson f89d40527d log to file 2025-03-01 22:50:54 -05:00
AI Christianson 23d5e267f4 key fact db 2025-03-01 22:41:35 -05:00
AI Christianson 50d618c8f8 improve prompts 2025-03-01 21:05:18 -05:00
Ariel Frischer e960a68d29
Binary Skipped ascii filetype fix (#108)
* chore: refactor code for improved readability and maintainability

- Standardize variable naming conventions for consistency.
- Improve logging messages for better clarity and debugging.
- Remove unnecessary imports and clean up code structure.
- Enhance error handling and logging in various modules.
- Update comments and docstrings for better understanding.
- Optimize imports and organize them logically.
- Ensure consistent formatting across files for better readability.
- Refactor functions to reduce complexity and improve performance.
- Add missing type hints and annotations for better code clarity.
- Improve test coverage and organization in test files.

style(tests): apply consistent formatting and spacing in test files for improved readability and maintainability

* chore(tests): remove redundant test for ensure_tables_created with no models to streamline test suite and reduce maintenance overhead

* fix(memory.py): update is_binary_file function to correctly identify binary files by returning True for non-text mime types
2025-02-28 06:47:35 -05:00
AI Christianson 429f854fb8 catch more rate limit errors 2025-02-27 22:42:06 -05:00
AI Christianson 9924c70471 version bump 2025-02-27 11:45:45 -05:00
AI Christianson 346e22b5cb improve agent crash detection 2025-02-27 11:41:36 -05:00
AI Christianson 9202cf0d6d improve agent_should_exit logic 2025-02-27 10:46:57 -05:00
AI Christianson 9403b8c57f improve agent context inheritance 2025-02-27 10:31:55 -05:00
AI Christianson 6c85a39bbb added agent_should_exit context 2025-02-27 10:14:17 -05:00
AI Christianson 6d2b0a148d support context for ripgrep 2025-02-27 10:04:59 -05:00
AI Christianson a8030104fc version bump 2025-02-27 09:43:22 -05:00
AI Christianson d11393c898 improve chat prompt 2025-02-27 09:42:32 -05:00
AI Christianson fbc4e05d4e version bump 2025-02-27 09:25:06 -05:00
AI Christianson a791e9f2d9 improve prompts 2025-02-27 09:19:31 -05:00
AI Christianson 79ca08137c improve prompts 2025-02-27 09:15:32 -05:00
AI Christianson d6bcf44700 turn request_task_implementation return val into a string and add prompt to fix duplicated work. 2025-02-27 09:06:43 -05:00
AI Christianson 8760e6e152 turn request_implementation return val into a string and add prompt to fix duplicated work. 2025-02-27 08:52:54 -05:00
AI Christianson 1ce52774d7 fix langgraph prebuilt dep; remove modification tools from research phase 2025-02-27 08:36:16 -05:00
AI Christianson c89a92e4f0 prompts + remove oneshot in research 2025-02-26 22:09:04 -05:00
AI Christianson c83815c836 fix new project detection 2025-02-26 21:19:08 -05:00
AI Christianson 9f6089d0d7 improve prompts 2025-02-26 20:50:48 -05:00
AI Christianson 4cfb377bb1 improve prompts 2025-02-26 20:29:18 -05:00
AI Christianson 6b7d2374ee disable related if aider disabled 2025-02-26 20:27:03 -05:00
AI Christianson 65b8619517 aider-free mode 2025-02-26 20:15:00 -05:00
AI Christianson 4aeb52e41d enable file editing tools 2025-02-26 20:01:00 -05:00
AI Christianson 28d9032ca5 agent context 2025-02-26 19:30:08 -05:00
AI Christianson 724dbd4fda db migrations 2025-02-26 16:21:38 -05:00
AI Christianson e6d98737a8 fix logging 2025-02-26 15:25:43 -05:00
AI Christianson dbf4d954e1 base db infra 2025-02-26 11:44:18 -05:00
AI Christianson 012d95cf00 version bump 2025-02-25 19:03:22 -05:00
AI Christianson 9c76745bcc improve binary file filtering 2025-02-25 18:34:28 -05:00
AI Christianson 94d655ce91 skip binary files; update deps 2025-02-25 18:32:29 -05:00
AI Christianson 8d1e4a96bd improve prompts 2025-02-25 17:41:17 -05:00
AI Christianson 0199f450ee version bump 2025-02-25 17:14:29 -05:00
AI Christianson 3f2a706ff6 improve prompts 2025-02-25 17:13:17 -05:00
AI Christianson 8c8ae5384d version bump 2025-02-25 15:34:03 -05:00
AI Christianson d3b4d9b8d9 fix capture bug 2025-02-25 15:13:33 -05:00
AI Christianson 7ae4c61af6 fix interactive capture; fix prompts 2025-02-25 14:59:13 -05:00
AI Christianson eede183110 fix junk in command capture 2025-02-25 14:46:53 -05:00
AI Christianson 2e13b2bf4d remove file 2025-02-25 14:16:50 -05:00
AI Christianson 804ebd76a5 fix windows 2025-02-25 14:15:28 -05:00
AI Christianson f14863a06d improve interactive history capture 2025-02-25 14:02:43 -05:00
AI Christianson a866b38883 fix linux interactive commands 2025-02-25 13:42:00 -05:00
AI Christianson ea44e5dd6a linux fixes 2025-02-25 13:41:55 -05:00
Mark Varkevisser d163a74c47
Add Windows compatibility improvements (#105)
* Add Windows compatibility improvements

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

* Fix: Add missing subprocess import in Windows compatibility tests

* Improve Windows compatibility:

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

* Fix WebUI: Improve message display, add syntax highlighting, animations, and fix WebSocket communication
2025-02-25 13:41:29 -05:00
AI Christianson 2f132bdeb5 version bump 2025-02-25 11:14:52 -05:00
AI Christianson 495ed838ea upgrade aider; optimize prompts 2025-02-25 11:12:12 -05:00
AI Christianson d8f1618b2b prompt improvements 2025-02-25 08:59:55 -05:00
AI Christianson 860eb484c7 prompt improvements 2025-02-25 08:54:29 -05:00
AI Christianson ac9aeece2a prompt improvements 2025-02-24 20:05:50 -05:00
AI Christianson 7b4359eb28 version bump 2025-02-24 19:57:22 -05:00
AI Christianson c37e5b0ac1 optimize prompts 2025-02-24 19:56:47 -05:00
AI Christianson 47d548180a version bump 2025-02-24 19:15:18 -05:00
AI Christianson 52722f6600 use latest aider; update tool calling prompts and minimize return values to improve tool calling performance 2025-02-24 19:08:12 -05:00
AI Christianson cc93961bf3 version bump 2025-02-24 15:49:47 -05:00
AI Christianson b600bd8d48 show version at startup 2025-02-24 15:45:56 -05:00
AI Christianson 6591400ad6 fix anthropic key error msg 2025-02-24 15:35:45 -05:00
AI Christianson 7f85e93431 sonnet 3.7 2025-02-24 14:44:40 -05:00
AI Christianson 04913bdaf3 fix bug where model selection on anthropic was always using default 2025-02-24 14:35:09 -05:00
dancompton e5593305d3
fix: f-string unmatched [ (#104) 2025-02-20 19:46:26 -05:00
AI Christianson 5d262206ec version bump 2025-02-19 20:01:49 -05:00
AI Christianson f9c83d496c Reapply "add app headers for openrouter"
This reverts commit 56ccd938f7.
2025-02-19 19:33:34 -05:00
user 56ccd938f7 Revert "add app headers for openrouter"
This reverts commit 0eb2176ee5.
2025-02-19 19:25:41 -05:00
AI Christianson 0eb2176ee5 add app headers for openrouter 2025-02-19 19:22:18 -05:00
Ariel Frischer 396d7033fa
Show fallback models in config panel (#103)
* feat(readme): update experimental fallback handler description for clarity and add recommendation for OPENAI_API_KEY
feat(main.py): refactor status display logic into a separate build_status function for better readability and maintainability
feat(fallback_handler.py): add debug logging for fallback handler model selection process
chore(todo.md): create a new TODO file to track future improvements and tasks

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

* feat(main.py): add wrench emoji to FallbackHandler status message for better visibility
2025-02-18 23:15:18 -05:00
AI Christianson ca49e509a8 use create_react_agent for sonnet via openrouter 2025-02-18 22:09:06 -05:00
AI Christianson ba92f49a91 fix bug where we sent reasoning_effort to models that do not support it. fixes #91 2025-02-17 19:08:06 -05:00
AI Christianson 8a2f0efb99 get rid of debug print 2025-02-17 18:54:30 -05:00
Ariel Frischer 5a4710b3be feat(tests): add --test-cmd-timeout argument to README and implement timeout for test command execution
fix(config): define DEFAULT_TEST_CMD_TIMEOUT for consistent test command timeout handling
fix(main.py): remove unused AgentInterrupt import and update test command timeout handling
fix(programmer.py): adjust interactive command execution to use model-specific latency
fix(handle_user_defined_test_cmd_execution.py): update timeout handling for test command execution
test(tests): update tests to verify timeout behavior for test command execution
2025-02-17 15:38:20 -08:00
Ariel Frischer e6ba8f5dff
Merge pull request #95 from ariel-frischer/test-cmd-args
feat: add `--test-cmd-timeout` option to specify timeout for test command
2025-02-17 15:25:09 -08:00
AI Christianson 7c3c616531 use base latency in programmer tool 2025-02-17 18:21:49 -05:00
Ariel Frischer becf8a1fd6 feat(dependabot): add dependabot configuration for daily updates of Python packages
docs(README.md): enhance documentation with installation, configuration, and usage guides
docs(contributing.md): create a contributing guide to encourage community involvement
docs(getting-help.md): add a section for reporting issues and community support
docs(quickstart): reorganize and enhance quickstart documentation for better clarity
style(docusaurus.config.ts): update footer copyright and GitHub link for accuracy
fix(models_params.py): add default base latency parameter for model configurations
feat(usage): add usage examples for creating games and modern web apps with RA.Aid
chore(remove): delete outdated quickstart and tutorial files to streamline documentation
2025-02-17 15:20:54 -08:00
Ariel Frischer 685d098f21 feat(docusaurus): add Vercel analytics plugin to enhance performance tracking
feat(models_params.py): add DEFAULT_BASE_LATENCY constant and integrate it into model parameters for latency management
fix(package.json): add @docusaurus/plugin-vercel-analytics dependency to support new analytics feature
2025-02-17 15:19:01 -08:00
AI Christianson e8e4dac038 add base latency model param 2025-02-17 18:11:33 -05:00
Ariel Frischer 581dc4b761 feat: add `--test-cmd-timeout` option to specify timeout for test command execution
This change introduces a new command-line option `--test-cmd-timeout` to allow users to set a timeout for the execution of test commands. The default timeout is set to 300 seconds. This enhancement provides users with more control over the execution time of their test commands, helping to prevent indefinite hangs during testing.

Additionally, the codebase has been updated to utilize this new timeout setting in relevant areas, ensuring consistent behavior across the application.
2025-02-17 11:03:19 -08:00
Ariel Frischer 9ff09b9b93 refactor(shell.py): rename expected_runtime_seconds parameter to timeout for clarity and consistency in function signature 2025-02-17 10:45:49 -08:00
Ariel Frischer 81354df48b fix(ciayn_agent.py): correct spelling of "execute" in error message for clarity
refactor(ciayn_agent.py): improve error handling by chaining exceptions for better debugging
docs(output.py): update docstring to include agent_type parameter for clarity on agent behavior
2025-02-14 14:45:33 -08:00
Ariel Frischer 4a2a0b691c chore(llm.py): remove unused import of BaseMessage to clean up code and improve readability 2025-02-14 14:42:56 -08:00
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
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 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 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
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
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 90b3070aa2 chore(agent_utils.py): remove debug print statement for config to clean up output
chore(fallback_handler.py): comment out cpm call for tool call result to reduce logging noise
2025-02-13 20:14:07 -08:00
Ariel Frischer efec91579a refactor(ciayn_agent.py): remove unnecessary raise statement and debug log to clean up code 2025-02-13 20:09:47 -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 9caa46bc78 refactor(agent_utils.py): remove redundant agent_type parameter from _handle_fallback_response and run_agent_with_retry functions to simplify function signatures
feat(agent_utils.py): retrieve agent_type within _handle_fallback_response to maintain functionality while improving code clarity
2025-02-13 19:16:13 -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 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 cd8d1c459d feat(readme): document new command line arguments for experimental features
feat(main.py): add --experimental-fallback-handler argument to enable fallback handler
fix(agent_utils.py): modify init_fallback_handler to check for experimental fallback handler flag
fix(config.py): increase DEFAULT_MAX_TOOL_FAILURES to allow more retries before failure
2025-02-13 17:01:46 -08:00
Ariel Frischer 2420dfbb4f refactor(agent_utils.py): extract fallback handler initialization into a separate function to improve code readability and maintainability
fix(ciayn_agent.py): reset fallback handler after executing tool to ensure proper state management
style(fallback_handler.py): format method signature for better readability
2025-02-13 16:53:22 -08:00
Ariel Frischer 63e48db9de feat(agent_utils.py): add _handle_fallback_response function to streamline fallback handling logic
refactor(agent_utils.py): extract fallback handling logic from run_agent_with_retry to improve code readability
fix(ciayn_agent.py): update stream method parameter name for consistency
chore(agents_alias.py): reorder import statements to follow best practices
style(fallback_handler.py): reorder exception imports for consistency and clarity
2025-02-13 16:47:31 -08:00
Ariel Frischer 115cde98b6 feat(agent_utils.py): add FallbackToolExecutionError exception to handle fallback tool execution failures
fix(ciayn_agent.py): improve error message template for tool call errors to provide clearer guidance
refactor(ciayn_agent.py): update comment for clarity regarding fallback tool invocation
fix(output.py): clarify that CiaynAgent handles tool execution errors internally
fix(fallback_handler.py): raise FallbackToolExecutionError for better error handling in fallback scenarios
2025-02-13 16:42:59 -08:00
Ariel Frischer e2cd51c66d feat(agent_utils.py): add SystemMessage import and improve logging messages for clarity
fix(agent_utils.py): handle fallback responses more effectively and ensure fallback handler is optional
refactor(ciayn_agent.py): streamline prompt building and extract tool call logic into a separate method
chore(ciayn_agent.py): remove commented-out code and improve fallback response handling
chore(exceptions.py): remove unused CiaynToolExecutionError class to clean up code
chore(fallback_handler.py): simplify fallback response handling logic
chore(logging_config.py): add debug print statement for logging handler usage
chore(prompts.py): update prompts for clarity and maintainability
2025-02-13 16:14:24 -08:00