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.
Python calibrationclassificationdecision-modelhuggingfacejevmodernbertmultilingualnlppythonpytorchroutingtyped-decisionszero-shot
ci(windows): install the extras and httpx the suite list assumes
thread3ddd8ad2e93585
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex c97f733d..7d90fe81 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -290,13 +290,16 @@ jobs:# The +cpu index used on Linux is Linux/macOS only. On Windows the default PyPI wheel is# already CPU-only, so installing torch plainly is both correct and what a user gets.- # The serve extra and pytest are here for the same reason as the Linux job: the HTTP- # surface is otherwise skipped and the pytest suites otherwise do not run at all.+ # The extras mirror the Linux install because the suite list below assumes them: without+ # `mcp`, tests/test_mcp.py prints SKIP and exits 0; without `langchain-core`,+ # tests/test_langchain.py runs against plain-object shims; and without `httpx` the+ # starlette TestClient that tests/test_serve.py imports raises at collection. Any of the+ # three leaves this lane green without testing the surface it names.- name: Installrun: |python -m pip install --upgrade pippip install torch- pip install -e ".[serve]"+ pip install -e ".[mcp,serve,langchain]" httpxpip install pytestshell: bash@@ -353,6 +356,18 @@ jobs:-qshell: bash+ # The Linux job's guard, repeated here: the install is what makes test_mcp.py and+ # test_langchain.py exercise their real base classes, and nothing else proves it took. mcp+ # and httpx are asserted the same way because their suites skip instead of failing.+ - name: Integrations run on their real base classes+ run: |+ python -c "import mcp, httpx, langchain_core"+ python -c "from laya.integrations.langchain import RunnableSerializable; \+ assert RunnableSerializable is not object, \+ 'langchain-core is missing: laya.integrations.langchain fell back to a plain object'"+ python tests/test_langchain_real_mode.py+ shell: bash+- name: Email cleaning testsrun: python tests/test_email.pyshell: bash