MCPcopy Create free account
hub / github.com/Luce-Org/lucebox-hub / seq_at

Function seq_at

server/src/server/prefix_cache.cpp:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 out.end_msg_seqs = {{turn_end[0]}};
60 out.next_role_starts = {{turn_start[0]}};
61 return true;
62 }
63
64 // Try Laguna family: XML-style markers.
65 auto start_sys = tok.encode("<system>");
66 auto end_sys = tok.encode("</system>");
67 auto start_usr = tok.encode("<user>");
68 auto end_usr = tok.encode("</user>");
69 auto start_ast = tok.encode("<assistant>");
70 auto end_ast = tok.encode("</assistant>");
71 if (!start_sys.empty() && !end_sys.empty() && !start_usr.empty() &&

Callers 2

find_first_seqFunction · 0.85
find_all_boundariesFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected