Commit Graph

21 Commits

Author SHA1 Message Date
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
7184eee299 fix(core): use debugLogger.warn for loop detection errors (#11986) 2025-10-24 21:00:05 +00:00
Abhi
a2fc45a492 refactor(logging): Centralize console logging with debugLogger (#11590) 2025-10-21 20:35:22 +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
anthony bushong
aa38851625 fix(core): tend to history with dangling function calls/responses (#7692) 2025-09-04 07:24:42 +00:00
Pascal Birchler
a97a6cc71b Explict imports & exports with type modifier (#3774) 2025-08-25 22:04:53 +00:00
Pascal Birchler
42392f6308 chore: consistently import node modules with prefix (#3013)
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-08-25 20:11:27 +00:00
Sandy Tao
acbe1f1a45 fix(core): Skip loop check for dividers (#6893) 2025-08-23 00:08:16 +00:00
Richie Foreman
ddc9755b96 chore(compiler): Enable strict property access TS compiler flag. (#6255)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-17 16:43:21 +00:00
Sandy Tao
e3603fd39e skip loop check if it is currently inside a loop (#6022) 2025-08-11 23:45:31 +00:00
Wanlin Du
366ea081fe chore: migrate from responseSchema to use responseJsonSchema. (#4814) 2025-08-11 23:04:58 +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