RA.Aid/ra_aid
Ariel Frischer 89e4556e7b feat: implement trajectory model and repository for tracking agent actions
This commit introduces a new `Trajectory` model to the database, which tracks the sequence of actions taken by agents, including tool executions and their results. The addition of the `TrajectoryRepository` allows for storing and retrieving these trajectories, enabling better analysis of agent behavior and debugging of issues.

Additionally, the commit refactors existing code to utilize the new repository and model, improving the overall architecture and maintainability of the codebase. This change is essential for enhancing the capabilities of the agent system and providing a more robust framework for future development.
2025-03-10 17:05:34 -07:00
..
agent_backends extract thinking processing 2025-03-08 14:48:46 -05:00
agents refactor: extract get_most_recent_id 2025-03-10 19:37:39 -04:00
callbacks feat(agent_utils.py): add AnthropicCallbackHandler to track token usage and costs for Anthropic models (#118) 2025-03-10 07:08:12 -04:00
chat_models set timeouts on llm clients 2025-02-10 11:41:27 -05:00
console fix(output.py): update subtitle text from "Total Cost" to "Cost" for clarity in cost information display 2025-03-10 17:01:00 -07:00
database refactor: extract get_most_recent_id 2025-03-10 19:37:39 -04:00
migrations add error info to trajectory records 2025-03-10 19:12:14 -04:00
model_formatters research notes repo 2025-03-03 22:31:51 -05:00
proc Binary Skipped ascii filetype fix (#108) 2025-02-28 06:47:35 -05:00
prompts add project info to reasoning assist prompts 2025-03-10 18:01:56 -04:00
tests should exit propagation 2025-03-07 11:25:46 -05:00
text extract thinking processing 2025-03-08 14:48:46 -05:00
tools refactor: extract get_most_recent_id 2025-03-10 19:37:39 -04:00
utils fix binary detection 2025-03-08 22:36:06 -05:00
webui add log mode and log level, support for logging to files in .ra-aid/logs/ 2025-03-02 12:18:27 -05:00
__init__.py feat(Makefile): add commands for code checking and fixing using ruff (#63) 2025-01-29 16:38:58 -05:00
__main__.py add trajectory table 2025-03-10 18:59:42 -04:00
__version__.py version bump 2025-03-07 18:57:19 -05:00
agent_context.py fix agent context 2025-03-07 18:33:45 -05:00
agent_utils.py feat: implement trajectory model and repository for tracking agent actions 2025-03-10 17:05:34 -07:00
agents_alias.py refactor: agents/ -> agent_backends/ 2025-03-02 14:16:15 -05:00
config.py feat(tests): add --test-cmd-timeout argument to README and implement timeout for test command execution 2025-02-17 15:38:20 -08:00
dependencies.py Binary Skipped ascii filetype fix (#108) 2025-02-28 06:47:35 -05:00
env.py feat(Makefile): add commands for code checking and fixing using ruff (#63) 2025-01-29 16:38:58 -05:00
env_inv.py fix(env_inv.py): handle None values in sorting of installations to prevent errors (#117) 2025-03-08 21:03:06 -05:00
env_inv_context.py include environment information in prompts 2025-03-08 12:01:40 -05:00
exceptions.py feat(agent_utils.py): add FallbackToolExecutionError exception to handle fallback tool execution failures 2025-02-13 16:42:59 -08:00
fallback_handler.py Show fallback models in config panel (#103) 2025-02-18 23:15:18 -05:00
file_listing.py fixes 2025-03-04 00:57:15 -05:00
llm.py Binary Skipped ascii filetype fix (#108) 2025-02-28 06:47:35 -05:00
logging_config.py add log mode and log level, support for logging to files in .ra-aid/logs/ 2025-03-02 12:18:27 -05:00
models_params.py disable reasoning assistance by default 2025-03-08 15:36:21 -05:00
project_info.py get rid of pointless truncation message 2025-02-08 12:44:55 -05:00
project_state.py project file and ciayn improvements 2025-03-04 00:49:48 -05:00
provider_strategy.py Binary Skipped ascii filetype fix (#108) 2025-02-28 06:47:35 -05:00
tool_configs.py config repository 2025-03-04 21:01:08 -05:00
tool_leaderboard.py feat(fallback): implement automatic fallback to alternative LLM models on consecutive failures to enhance user experience and prevent infinite error loops 2025-02-10 14:13:19 -08:00
version_check.py version check 2025-03-05 14:46:39 -05:00