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.

ci(langchain): install the langchain extra in the tests job

Aashish4b2adc460d3c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7a9cca5f..8849c764 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -86,7 +86,10 @@ jobs:
# `mcp` so laya[mcp] resolution and the laya.mcp layer are both exercised, and
# `serve` because laya.serve and examples/server.py both import fastapi -- without
# it every test that touches them skips itself silently and passes.
- pip install -e ".[mcp,serve]" httpx
+ # `langchain` for the same reason: without langchain-core the runnables fall back
+ # to their plain-object path, so tests/test_langchain.py never checks the real
+ # Runnable behaviour (batch delegation, pydantic field validation) it is there for.
+ pip install -e ".[mcp,serve,langchain]" httpx
# The pytest-style suites need the runner; nothing else in this job uses it.
pip install pytest