v0.4.6

NandhaKishorM/layav0.4.6Oct 12, 2026by github-actions[bot]

Upgrading?

AI Summary

This patch release focuses on bug fixes, specifically improving router state validation and ensuring correct type annotations for ONNX agents.

Key Highlights

  • Fixed router state validation in route_batch to prevent errors before model loading
  • Updated agent loading logic to correctly annotate ONNX agents for the ONNX backend

Full Release Notes

## What's Changed
* fix(router): validate state is not None in route_batch before model load (#707) by @Swatantra-66 in https://github.com/NandhaKishorM/laya/pull/1165
* fix(agent): load() returns an ONNXAgent for backend="onnx"; annotate it and say so by @aashish254 in https://github.com/NandhaKishorM/laya/pull/1166


**Full Changelog**: https://github.com/NandhaKishorM/laya/compare/v0.4.5...v0.4.6

Related Repositories