ZhenYi
|
10c0cc007b
|
refactor(agent): split into submodules and add Qdrant embedding
- Split agent crate into client/, model/, agent/ subdirs
- Add billing.rs for token usage recording
- Add sync.rs for upstream model sync
- EmbedService: Qdrant-backed vector memory for semantic search
- ChatService: wire EmbedService for memory lookup, passive skill awareness
- ReAct loop: streamline with tokio::select! and proper error handling
|
2026-04-25 20:09:33 +08:00 |
|
ZhenYi
|
767bb10249
|
feat(agent): wire git_tools into AI tool registry with full schemas
- ChatService: add tools() method to expose registered tool definitions
- RoomService: populate AiRequest.tools from chat_service.tools(), enable tools
with max_tool_depth=3 (was always None)
- ToolHandler: add pub new() constructor so git_tools modules can register
handlers with full schema metadata
- Add description + JSON schema params to all 16 git tools:
git_log, git_show, git_search_commits, git_commit_info, git_graph,
git_reflog, git_branch_list, git_branch_info, git_branches_merged,
git_branch_diff, git_diff, git_diff_stats, git_blame, git_file_content,
git_tree_ls, git_file_history, git_tag_list, git_tag_info
|
2026-04-18 21:42:33 +08:00 |
|