v0.5.1
Fixed
- ModelTool.to_langchain() now wires ainvoke() in as the LangChain StructuredTool's coroutine, so async LangChain agents actually run the model prediction asynchronously instead of silently falling back to sync execution.
Added
- Warning when confidence_threshold is set on a classifier whose underlying model has no predict_proba method (mirrors the existing warning for regressors) — previously this failed silently with the threshold never taking effect.
- Test coverage for the LangChain exporter (tests/test_exporters_langchain.py) — schema shape, sync/async invocation, and missing-dependency error path. Previously untested.
- Test coverage for both confidence_threshold construction-time warning paths.