v0.3.7

NandhaKishorM/layav0.3.7Sep 23, 2026by github-actions[bot]

Upgrading?

AI Summary

This update improves routing accuracy by accepting language hints from callers and adds context manager support for deterministic resource cleanup in the runtime.

Key Highlights

  • Router now accepts caller-supplied language hints
  • Router keeps two checkpoints by default instead of one
  • New context manager support for Agent and Router
  • Calibration fixes to avoid crashes with invalid temperatures
  • Benchmark updates for GB10 (CUDA) and laptop-CPU latency

New Features

  • Language hint support in router
  • Context manager support for deterministic cleanup
  • Improved routing for auto-detected workflows

Full Release Notes

## What's Changed
* Skip redundant initialization when loading checkpoints by @SharkyRawr in https://github.com/NandhaKishorM/laya/pull/195
* fix(router): keep two checkpoints by default, not one by @devloper961-maker in https://github.com/NandhaKishorM/laya/pull/180
* fix(agent): name the question when its definition cannot be answered by @devloper961-maker in https://github.com/NandhaKishorM/laya/pull/183
* fix(lang): a dotted token is an identifier, not a prose word by @devloper961-maker in https://github.com/NandhaKishorM/laya/pull/179
* fix(lang): recognise Brazilian Portuguese support text by @paulocarinhena in https://github.com/NandhaKishorM/laya/pull/202
* fix(email): clean Portuguese and Spanish replies, signatures and footers by @paulocarinhena in https://github.com/NandhaKishorM/laya/pull/200
* feat(router): accept a caller-supplied language hint (the #35 ask) by @PerryLink in https://github.com/NandhaKishorM/laya/pull/211
* fix(router): report `repo` as a string for an auto-detected workflow by @paulocarinhena in https://github.com/NandhaKishorM/laya/pull/205
* fix(router): send undecided Latin text to `default`, not always English by @paulocarinhena in https://github.com/NandhaKishorM/laya/pull/203
* fix(finetune): hold the calibration slice out of training by @Parzifal101 in https://github.com/NandhaKishorM/laya/pull/191
* test: run CI on advertised Python 3.12 by @BambaSatoru in https://github.com/NandhaKishorM/laya/pull/201
* BENCHMARKS: GB10 (CUDA) and laptop-CPU latency, and routing-task calibration by @mdad-elec in https://github.com/NandhaKishorM/laya/pull/188
* docs: add laya-adk-toolkit to Community Tools by @Ashfaqbs in https://github.com/NandhaKishorM/laya/pull/199
* fix(router): preserve resident models during incremental preload by @wbx398 in https://github.com/NandhaKishorM/laya/pull/27
* fix: include zero confidence in ECE by @rajin-khan in https://github.com/NandhaKishorM/laya/pull/39
* fix(tests): normalize expected Hub paths on Windows by @alpha912 in https://github.com/NandhaKishorM/laya/pull/140
* fix(calibration): avoid crashes when reporting invalid temperatures by @alpha912 in https://github.com/NandhaKishorM/laya/pull/142
* fix(agent): return empty predictions without inference by @alpha912 in https://github.com/NandhaKishorM/laya/pull/144
* fix(email): recover the request when a disclaimer shares its paragraph by @Bruce-Yii in https://github.com/NandhaKishorM/laya/pull/115
* fix(lang): count letters no script range claims, instead of routing them to English by @PerryLink in https://github.com/NandhaKishorM/laya/pull/169
* fix(research): point the benchmark scripts at paths that exist by @LudwigJMarx in https://github.com/NandhaKishorM/laya/pull/133
* fix(calibration): clear stale bucket overrides from notebook exports by @alpha912 in https://github.com/NandhaKishorM/laya/pull/139
* fix(shortlist): refresh embedding device on each call by @alpha912 in https://github.com/NandhaKishorM/laya/pull/145
* fix(agent): normalize boolean criteria keys and document noul criteria by @chilkotiKartik in https://github.com/NandhaKishorM/laya/pull/146
* perf(router): reclaim VRAM and trigger garbage collection on eviction and unload by @chilkotiKartik in https://github.com/NandhaKishorM/laya/pull/147
* feat(runtime): add context manager support to Agent and Router for deterministic resource cleanup by @chilkotiKartik in https://github.com/NandhaKishorM/laya/pull/150
* perf(shortlist): clip cosine similarities and guard empty document matrices in candidate ranking by @chilkotiKartik in https://github.com/NandhaKishorM/laya/pull/158
* docs: clarify installation in isolated Python environments by @zhangxinping666 in https://github.com/NandhaKishorM/laya/pull/157
* Add self-hostable HTTP server (Jev-compatible /v1/systemone), Nix flake, and NixOS module by @commandodev in https://github.com/NandhaKishorM/laya/pull/31
* feat(research): add a reproducible per-language evaluation harness (the #35 ask) by @PerryLink in https://github.com/NandhaKishorM/laya/pull/210
* research: add reproducible Chinese workflow benchmark with bilingual results by @Adkid-Zephyr in https://github.com/NandhaKishorM/laya/pull/193
* feat: Delete redundant `import laya` by @kelvinf97 in https://github.com/NandhaKishorM/laya/pull/92
* docs: add omp-laya-judge to community integrations by @F0Rextasy in https://github.com/NandhaKishorM/laya/pull/101
* docs: worked example of fine-tuning Laya as a browser-agent decision head (weights + pipeline on the Hub) by @cklxx in https://github.com/NandhaKishorM/laya/pull/143
* fix(packaging): modernize metadata and single-source the version by @emiliano-go in https://github.com/NandhaKishorM/laya/pull/110
* build: add Docker and Compose quickstart with optional CUDA by @maxfield-allison in https://github.com/NandhaKishorM/laya/pull/45

## New Contributors
* @SharkyRawr made their first contribution in https://github.com/NandhaKishorM/laya/pull/195
* @paulocarinhena made their first contribution in https://github.com/NandhaKishorM/laya/pull/202
* @Parzifal101 made their first contribution in https://github.com/NandhaKishorM/laya/pull/191
* @BambaSatoru made their first contribution in https://github.com/NandhaKishorM/laya/pull/201
* @mdad-elec made their first contribution in https://github.com/NandhaKishorM/laya/pull/188
* @Ashfaqbs made their first contribution in https://github.com/NandhaKishorM/laya/pull/199
* @wbx398 made their first contribution in https://github.com/NandhaKishorM/laya/pull/27
* @rajin-khan made their first contribution in https://github.com/NandhaKishorM/laya/pull/39
* @alpha912 made their first contribution in https://github.com/NandhaKishorM/laya/pull/140
* @Bruce-Yii made their first contribution in https://github.com/NandhaKishorM/laya/pull/115
* @LudwigJMarx made their first contribution in https://github.com/NandhaKishorM/laya/pull/133
* @chilkotiKartik made their first contribution in https://github.com/NandhaKishorM/laya/pull/146
* @zhangxinping666 made their first contribution in https://github.com/NandhaKishorM/laya/pull/157
* @commandodev made their first contribution in https://github.com/NandhaKishorM/laya/pull/31
* @kelvinf97 made their first contribution in https://github.com/NandhaKishorM/laya/pull/92
* @F0Rextasy made their first contribution in https://github.com/NandhaKishorM/laya/pull/101
* @JonathanFeller made their first contribution in https://github.com/NandhaKishorM/laya/pull/48
* @cklxx made their first contribution in https://github.com/NandhaKishorM/laya/pull/143
* @emiliano-go made their first contribution in https://github.com/NandhaKishorM/laya/pull/110
* @maxfield-allison made their first contribution in https://github.com/NandhaKishorM/laya/pull/45

**Full Changelog**: https://github.com/NandhaKishorM/laya/compare/v0.3.6...v0.3.7

Related Repositories