Files
ragflow/internal/service
jay77721 0a4cc65db0 refactor(common): unify </think>-strip into shared StripThinkTrailing helper (#18179)
Collapse the nine identical **"cut through the last `</think>`"**
implementations — mirroring Python's `re.sub(r"^.*</think>", "", s,
re.DOTALL)` — into one shared helper `common.StripThinkTrailing`,
preventing future behavior drift between copies.
2026-08-13 13:56:56 +08:00
..
2026-08-10 18:04:17 +08:00
2026-08-05 22:05:07 +08:00
2026-08-10 18:04:17 +08:00
2026-07-23 21:48:54 +08:00
2026-07-24 16:47:12 +08:00
2026-07-24 16:47:12 +08:00
2026-07-23 21:48:54 +08:00
2026-07-23 21:48:54 +08:00
2026-08-03 21:30:01 +08:00
2026-08-10 18:04:17 +08:00
2026-08-10 18:04:17 +08:00
2026-07-27 21:19:39 +08:00
2026-08-10 19:11:43 +08:00
2026-08-10 19:11:43 +08:00
2026-08-10 18:04:17 +08:00
2026-08-03 21:30:01 +08:00
2026-08-02 00:31:21 +08:00
2026-08-10 18:04:17 +08:00
2026-07-27 15:06:48 +08:00
2026-08-10 18:04:17 +08:00
2026-07-28 19:05:59 +08:00
2026-08-10 14:37:05 +08:00
2026-08-10 18:04:17 +08:00
2026-07-23 21:48:54 +08:00
2026-07-23 21:48:54 +08:00
2026-08-01 22:06:56 +08:00