gitdataai/libs/agent
ZhenYi 94825316dc fix(agent): extract JSON from model output even with leading text prefix
ReAct loop was terminating early when the model returned:
  [Agent ran through N steps...]
  {"thought": "...", "action": {...}}

The extract_json function only checked the string start or code fences.
Now scans for { or [ at non-word positions and uses depth-counting
to strip trailing text, allowing JSON buried anywhere in the response.
2026-04-24 13:17:06 +08:00
..
chat feat(gRPC): migrate admin RPC from Redis Pub/Sub to Tonic gRPC 2026-04-22 22:39:06 +08:00
compact init 2026-04-15 09:08:09 +08:00
embed init 2026-04-15 09:08:09 +08:00
perception init 2026-04-15 09:08:09 +08:00
react fix(agent): extract JSON from model output even with leading text prefix 2026-04-24 13:17:06 +08:00
task refactor(room): remove NATS, use Redis pub/sub for message queue 2026-04-16 17:24:04 +08:00
tool feat(agent): pass AppConfig through ToolContext and fix tool call handling 2026-04-20 19:32:03 +08:00
Cargo.toml feat(observability): Phase 6 OTLP tracing + Prometheus metrics endpoint 2026-04-22 10:27:54 +08:00
client.rs feat(observability): Phase 6 OTLP tracing + Prometheus metrics endpoint 2026-04-22 10:27:54 +08:00
error.rs refactor(room): remove NATS, use Redis pub/sub for message queue 2026-04-16 17:24:04 +08:00
lib.rs feat(observability): Phase 6 OTLP tracing + Prometheus metrics endpoint 2026-04-22 10:27:54 +08:00
tokent.rs init 2026-04-15 09:08:09 +08:00