Commit a00d1cb
authored
agent refactoring (#27)
* feat(context): restructure context module by creating a dedicated context directory and moving related functions to improve organization and maintainability
refactor(agent): simplify agent logic by modularizing action execution and communication functions for better readability and separation of concerns
chore: remove unused utils directory and update imports across the codebase to reflect new structure
* refactor(agent): reorganize action and error types into separate files for better modularity and maintainability
chore(agent): remove deprecated types.ts file to clean up the codebase and avoid redundancy1 parent dd4a4ff commit a00d1cb
File tree
13 files changed
+1380
-1233
lines changed- app/api/projects/[id]/chat
- lib/llm
- context
- core
- utils
- scripts
13 files changed
+1380
-1233
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
| 460 | + | |
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| |||
File renamed without changes.
0 commit comments