v0.4.6

parruda/swarmv0.4.6Oct 12, 2026by github-actions[bot]

Upgrading?

AI Summary

Fixes validation state in route_batch before model load and clarifies the return type of Agent.load() for the ONNX backend.

Key Highlights

  • Fix: Validates state is not None in route_batch before model load.
  • Fix: load() now returns ONNXAgent for backend='onnx'.

New Features

  • Bug fix for Router validation
  • Bug fix for Agent load return type

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