Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

test(mcp): attribute the no-loading note to the docstring that carries it

Aashish00fcb6837999
diff --git a/tests/test_mcp.py b/tests/test_mcp.py
index f6ef61ec..97c09e53 100644
--- a/tests/test_mcp.py
+++ b/tests/test_mcp.py
@@ -546,7 +546,8 @@ def test_auto_task_env():
README's MCP section says these variables follow the contract at the top of laya.serve, so the
check is built through both surfaces' real builders -- `laya.mcp.server._ensure_router()` and
`laya.serve.build_router()` -- rather than by reading a flag off a hand-made Router.
- `Router.route()` decides without loading anything, so no checkpoint is downloaded here.
+ `Router.route()` delegates to the private `_route`, documented as deciding "without loading or
+ running anything", so no checkpoint is downloaded here.
"""
import laya.mcp.server as mcp_mod # the module, not the MCPServer instance
from laya.router import _TYPED_DECISION_WORKFLOWS