kshitijk4poor
71157cbf66
refactor(turn_finalizer): extract _is_pure_tool_call_tail, fix SQLite durability
...
Extract the inline pure-tool-call tail check to a named helper using
flatten_message_text (canonical content extraction). Fix a SQLite
durability regression: the incremental tool-call persist
(conversation_loop.py:4990) stamps _DB_PERSISTED_MARKER on the assistant
row, so the next _persist_session flush skips it — the filled content
reaches the in-memory transcript but NOT the durable store, and /resume
reloads content="". Pop the marker so the next flush re-writes the row.
Tests pass, ruff clean.
2026-07-19 07:27:10 +05:30
..
2026-07-17 13:48:41 -07:00
2026-07-16 07:28:07 -07:00
2026-07-16 04:23:12 -07:00
2026-07-16 04:23:12 -07:00
2026-07-17 09:08:30 -07:00
2026-07-18 19:38:21 +05:30
2026-07-18 14:30:24 +05:30
2026-07-18 14:30:24 +05:30
2026-07-17 20:55:24 +00:00
2026-07-17 06:49:47 -07:00
2026-07-17 13:44:12 -07:00
2026-07-17 04:46:59 -07:00
2026-07-17 20:55:24 +00:00
2026-07-17 09:08:30 -07:00
2026-07-17 13:08:46 -04:00
2026-07-16 06:14:56 -07:00
2026-07-17 11:37:25 +05:30
2026-07-17 11:37:25 +05:30
2026-07-18 14:30:24 +05:30
2026-07-18 14:30:24 +05:30
2026-07-18 02:31:20 -07:00
2026-07-18 12:28:59 -07:00
2026-07-17 06:48:42 -07:00
2026-07-18 12:54:58 -07:00
2026-07-16 00:18:38 -07:00
2026-07-17 05:45:12 -07:00
2026-07-17 04:54:06 -07:00
2026-07-16 07:57:51 -07:00
2026-07-16 14:34:03 +05:30
2026-07-17 04:55:58 -07:00
2026-07-16 12:48:48 -07:00
2026-07-16 13:33:02 -07:00
2026-07-18 14:30:24 +05:30
2026-07-16 01:13:43 -07:00
2026-07-18 02:31:20 -07:00
2026-07-16 04:32:23 -07:00
2026-07-16 07:28:07 -07:00
2026-07-17 04:52:02 -07:00
2026-07-17 18:31:09 +00:00
2026-07-18 14:30:24 +05:30
2026-07-17 06:49:42 -07:00
2026-07-16 04:32:23 -07:00
2026-07-16 01:07:29 +05:30
2026-07-17 20:55:24 +00:00
2026-07-17 20:55:24 +00:00
2026-07-18 02:08:39 -07:00
2026-07-17 09:08:30 -07:00
2026-07-19 07:27:10 +05:30
2026-07-16 04:56:10 -07:00
2026-07-16 04:23:12 -07:00
2026-07-16 04:23:12 -07:00
2026-07-16 07:29:53 -07:00