Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Icecubesaad/OpenLLM-Studio
/ LoopDetector
Class
LoopDetector
src-tauri/src/loop_detector.rs:3–6 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
use std::collections::VecDeque;
2
3
pub struct LoopDetector {
4
recent_steps: VecDeque<String>,
5
max_steps: usize,
6
}
7
8
impl LoopDetector {
9
pub fn new() -> Self {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected