Commit Graph

23 Commits

Author SHA1 Message Date
Sandy Tao 8693b41dbf feat(core): add setting to disable loop detection (#18008) 2026-02-02 18:13:20 +00:00
Adam Weidman b789cd471e chore(core): remove legacy fallback flags and migrate loop detection (#15213) 2025-12-17 22:14:33 +00:00
Sandy Tao 54926aafb2 feat(core): enhance loop detection with 2-stage check (#12902) 2025-11-12 04:49:00 +00:00
N. Taylor Mullen bfcb4f883c telemetry: track interactive session state (#12856)
Co-authored-by: owenofbrien <86964623+owenofbrien@users.noreply.github.com>
2025-11-11 10:03:32 +00:00
joshualitt b0add82cdd feat(core): Migrate generateJson to resolved model configs. (#12626) 2025-11-07 22:18:45 +00:00
Sandy Tao 5b29fbeb71 fix(core): Improve loop detection for longer repeating patterns (#12505) 2025-11-04 02:06:22 +00:00
Sandy Tao ccc56a80b7 fix(core): ensure loop detection respects session disable flag (#12347) 2025-10-31 16:06:10 +00:00
Sandy Tao 0dd90f65b5 fix(core): update loop detection LLM schema fields (#12091) 2025-10-27 19:16:25 +00:00
Sandy Tao 7480741574 fix(core): Prepend user message to loop detection history if it starts with a function call (#11860) 2025-10-25 04:22:26 +00:00
Sandy Tao bf89bc65ed feat(logging): Add clearcut logging for disabling loop detection (#8503) 2025-09-15 21:12:39 +00:00
Abhi 93165a2628 refactor(core): Use BaseLlmClient for LLM-based loop detection (#8427) 2025-09-14 03:07:33 +00:00
Sandy Tao 8985fd43c8 feat(ui): Add confirmation dialog for disabling loop detection for current session (#8231) 2025-09-11 05:20:13 +00:00
Pascal Birchler a97a6cc71b Explict imports & exports with type modifier (#3774) 2025-08-25 22:04:53 +00:00
Sandy Tao acbe1f1a45 fix(core): Skip loop check for dividers (#6893) 2025-08-23 00:08:16 +00:00
Sandy Tao e3603fd39e skip loop check if it is currently inside a loop (#6022) 2025-08-11 23:45:31 +00:00
Sandy Tao 5c37751354 feat(quality): Reset when seeing a new type of Markdown element (#5820) 2025-08-08 00:21:42 +00:00
Sandy Tao c9e421a7b7 Skip and reset loop checking around code blocks (#5144) 2025-07-30 04:05:03 +00:00
Sandy Tao 836a00940b Implement hashing based loop detection (#4831) 2025-07-25 19:53:19 +00:00
Sandy Tao 6f0fa1baab Log prompt id when a loop is detected (#4765)
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-24 05:37:28 +00:00
Sandy Tao ca1906dc96 Implement loop check with LLM (#4337)
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-18 16:33:46 +00:00
Sandy Tao 5eefb6e756 Fix resetting loop counts on every other event (#4348) 2025-07-17 05:32:48 +00:00
Sandy Tao 9c63f274cf Log the 2 types of loop detection (#4193) 2025-07-15 04:44:07 +00:00
Sandy Tao 8a66fcaccd Introduce loop detection service that breaks simple loop (#3919)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-15 03:25:16 +00:00