v0.4.6

msitarzewski/agency-agentsv0.4.6Oct 12, 2026by github-actions[bot]

Upgrading?

AI Summary

This release focuses on stability improvements, specifically fixing validation errors in the routing system and clarifying the return type of the agent load method for ONNX backends to improve type safety.

Key Highlights

  • Fixed router state validation to prevent crashes during model loading.
  • Updated agent loading logic to correctly return ONNXAgent types.
  • Improved type annotations for better developer experience.

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