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
Ariel Frischer
4d4eb6cadb
fix(tests): add cost_cb parameter to fake_print_agent_output function to enhance flexibility in testing
...
style(tests): add newline at the end of test_handle_api_error_resource_exhausted function for consistency with PEP 8 guidelines
2025-03-10 17:03:42 -07:00
AI Christianson
b5e4c64042
improve prompts; make list_directory more resilient
2025-03-10 16:41:09 -04:00
AI Christianson
51fa86b5c4
refactor: extract run_task_implementation_agent
2025-03-10 14:44:34 -04:00
AI Christianson
d8dcc8ca86
refactor: extract run_planning_agent
2025-03-10 14:19:06 -04:00
AI Christianson
4f2c36b958
refactor: extract research agent
2025-03-10 13:33:00 -04:00
AI Christianson
d194868cff
fix binary detection
2025-03-08 22:36:06 -05:00
AI Christianson
d0bf78c5f0
support reasoning assistance in research phase.
2025-03-08 19:32:05 -05:00
AI Christianson
eaf79fbee5
fix tests; improve prompts
2025-03-08 16:29:17 -05:00
AI Christianson
cfb0ec148f
extract thinking processing
2025-03-08 14:48:46 -05:00
AI Christianson
e64c4066a6
implement reasoning-guided workflows
2025-03-08 13:35:06 -05:00
AI Christianson
b9241780d0
fix test
2025-03-08 09:30:52 -05:00
AI Christianson
96dbd1c4e7
add --show-thoughts flag
2025-03-08 08:31:45 -05:00
AI Christianson
e49cce301f
support think tag on expert
2025-03-07 21:37:34 -05:00
AI Christianson
cf150173aa
support think tag
2025-03-07 20:29:37 -05:00
AI Christianson
66287baf0e
qwq
2025-03-07 19:56:40 -05:00
AI Christianson
e08a8feabc
fix tests
2025-03-07 19:21:44 -05:00
AI Christianson
1643518b50
version bump
2025-03-07 18:57:19 -05:00
AI Christianson
58c0739cfc
fix tests
2025-03-07 18:47:12 -05:00
AI Christianson
638776c8f8
fix test
2025-03-07 14:28:14 -05:00
AI Christianson
089bd9b368
add --wipe-project-memory flag
2025-03-07 12:06:40 -05:00
AI Christianson
9e9c3ad3d2
should exit propagation
2025-03-07 11:25:46 -05:00
AI Christianson
77856bfa0c
set agent_should_exit in gc agents
2025-03-07 10:35:02 -05:00
AI Christianson
f0e098cd82
fix tests
2025-03-07 09:02:32 -05:00
AI Christianson
97716a941a
fix tests
2025-03-07 08:51:35 -05:00
AI Christianson
756b7bf85a
fix tests
2025-03-07 08:35:44 -05:00
AI Christianson
254a9f4d13
version check
2025-03-05 14:46:39 -05:00
AI Christianson
0b621b6008
allow multiple string replacements
2025-03-04 21:34:29 -05:00
AI Christianson
c9f3f37ca3
get rid of global memory
2025-03-04 21:25:37 -05:00
AI Christianson
5bd8c76a22
config repository
2025-03-04 21:01:08 -05:00
AI Christianson
60a6707107
track agent depth via context
2025-03-04 19:05:33 -05:00
AI Christianson
a1b268fdf4
get rid of global memory work log refs
2025-03-04 18:30:52 -05:00
AI Christianson
600bf355d9
use repo pattern
2025-03-04 14:59:45 -05:00
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
bf96ddec45
fix tests
2025-03-04 09:33:00 -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
3d5b5850b4
multiple tool results in ciayn
2025-03-04 07:59:05 -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
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