1 Star 0 Fork 0

开发人工智能/codegraph

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
markers.ts 986 Bytes
Copy Edit Raw Blame History
/**
* Stable sentinel strings shared between the context builder (which emits them
* into its markdown) and the MCP layer (which detects them to adjust framing).
*
* Intentionally a dependency-free leaf module: the MCP tool layer imports this
* to recognise a low-confidence response, and routing that recognition through
* the full context module would drag its dependencies onto the cold-start path.
* Keep this file import-free.
*/
/**
* Heading that leads the honest low-confidence handoff appended to a context
* response when the query resolved only to weak/isolated matches. The MCP layer
* checks for it to suppress the contradictory "this is comprehensive, don't call
* explore" small-repo footer. Changing the text is a breaking sentinel change —
* both the emitter (`ContextBuilder`) and the detector (`src/mcp/tools.ts`)
* import this constant, so they stay in sync automatically.
*/
export const LOW_CONFIDENCE_MARKER = '### ⚠️ Low-confidence match';
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/devai/codegraph.git
git@gitee.com:devai/codegraph.git
devai
codegraph
codegraph
main

Search