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

Function is_ws

server/src/server/tool_parser.cpp:385–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383//
384// `_` is also in the sentinel list to handle a SentencePiece / chat-template
385// artifact: post-bragi-channel-routing (commit 4b757d1) the gemma server
386// occasionally emits raw tokens like `_call:get_country_info{...}` where
387// the leading `_` is residual tokenizer serialization. Without `_` here
388// the parser misses every such invocation — empirically confirmed against
389// gemma-4-26b 2026-05-31 smoke test. Tradeoff: `my_call:foo{}` mid-
390// identifier could match, but real model output doesn't emit `my_call:`

Callers 1

span_covers_non_wsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected