Skip to content

Release v1.5.2

Latest

Choose a tag to compare

@wu-changxing wu-changxing released this 30 Jul 00:32

Two things that were silently broken.

🐛 Fixes

Claude calls were dropping the system prompt entirely (#289)

Anthropic takes the system prompt as a top-level system argument rather than a message, so _convert_messages correctly removed system messages from the list — with a comment saying they would be "handled separately". That separate handling was never written. Neither complete() nor structured_complete() ever set it.

The result: every agent on a claude-* model ran with no system prompt at all — no persona, no instructions, no constraints. No error, no warning. If you use Claude models, take this release.

Fixed in #293 by @sanmaxdev.

.co/docs/ was empty on every PyPI install (#267)

co init tells you ".co/docs/ for full documentation". The folder was empty.

docs/ lives at the repo root, and the wheel is built from packages = ["connectonion"], so the documentation was never inside the package — the sdist had it, the wheel did not, and pip install uses the wheel. copy_docs() printed a yellow "Documentation not found" warning and left you an empty directory.

The files now ship inside the wheel. After co init you get 168 markdown files in .co/docs/ — verified by installing from PyPI into a clean venv and running co init.

Installation

pip install --upgrade connectonion

Breaking Changes

None.

Full Changelog: v1.5.1...v1.5.2