gitdataai/libs/agent/tool
ZhenYi 5b3a6700be refactor(agent): replace custom ReAct loop with rig::agent::Agent
- Use AgentBuilder for native tool-calling with stream_prompt()
- Add RecordingTool wrapper preserving retry + DB recording
- Fix tool_choice bug in do_completion (same as call_stream_once)
- Add seq field to RoomMessageStreamChunkEvent for strict ordering
- Map streaming events: Text→Answer, Reasoning→Thought, ToolCall→Action
- Only final event has done=true, removed premature stream ending
- Store __chunks__ JSON in thinking_content for ordered replay
2026-04-28 09:42:36 +08:00
..
call.rs fix(agent/service): retry jitter, tool executor ordering, curl SSRF, grep/JSON 2026-04-25 09:53:31 +08:00
context.rs feat(agent): pass AppConfig through ToolContext and fix tool call handling 2026-04-20 19:32:03 +08:00
definition.rs refactor(agent): split into submodules and add Qdrant embedding 2026-04-25 20:09:33 +08:00
examples.rs refactor(agent): split into submodules and add Qdrant embedding 2026-04-25 20:09:33 +08:00
executor.rs fix: resolve multiple bugs across backend and frontend 2026-04-27 13:54:21 +08:00
mod.rs refactor(agent): split into submodules and add Qdrant embedding 2026-04-25 20:09:33 +08:00
recorder.rs refactor(agent): replace custom ReAct loop with rig::agent::Agent 2026-04-28 09:42:36 +08:00
registry.rs refactor(agent): split into submodules and add Qdrant embedding 2026-04-25 20:09:33 +08:00
rig_adapter.rs refactor(agent): replace custom ReAct loop with rig::agent::Agent 2026-04-28 09:42:36 +08:00