gitdataai/libs
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
..
agent fix(agent): extract JSON from model output even with leading text prefix 2026-04-24 13:17:06 +08:00
agent-tool-derive init 2026-04-15 09:08:09 +08:00
api fix(ws): replace unreachable_unchecked with safe fallback for TypingStart/TypingStop 2026-04-24 00:04:18 +08:00
avatar init 2026-04-15 09:08:09 +08:00
config feat(observability): Phase 6 OTLP tracing for gRPC + config helper 2026-04-21 23:05:37 +08:00
db init 2026-04-15 09:08:09 +08:00
email refactor(core): migrate session_manager, email, rpc from slog to tracing 2026-04-21 22:29:43 +08:00
frontend chore(frontend): update frontend build configuration 2026-04-20 15:45:35 +08:00
git refactor(git): migrate libs/git from slog to tracing 2026-04-21 22:29:26 +08:00
migrate feat(observability): Phase 6 OTLP tracing + Prometheus metrics endpoint 2026-04-22 10:27:54 +08:00
models feat(observability): Phase 6 OTLP tracing + Prometheus metrics endpoint 2026-04-22 10:27:54 +08:00
observability chore(admin): remove all metrics/observability features 2026-04-23 15:42:00 +08:00
queue feat(room): add TypingEvent type and TypingStart/TypingStop event variants 2026-04-24 00:04:01 +08:00
room perf: sequence generation Redis-only + session MGET batch 2026-04-24 00:04:27 +08:00
rpc chore(admin): remove all metrics/observability features 2026-04-23 15:42:00 +08:00
service feat(room): implement typing indicator broadcast with Redis 10s TTL 2026-04-24 00:04:09 +08:00
session feat(admin): add admin panel with billing alerts and model sync 2026-04-19 20:48:59 +08:00
session_manager perf: sequence generation Redis-only + session MGET batch 2026-04-24 00:04:27 +08:00
transport init 2026-04-15 09:08:09 +08:00
webhook init 2026-04-15 09:08:09 +08:00