·
28 commits
to main
since this release
Packages Published
Python (PyPI) - published at 15:22:36 UTC
| Package | Version | Install |
|---|---|---|
| ag-ui-langgraph | 0.0.45 | pip install ag-ui-langgraph==0.0.45 |
ag-ui-langgraph@0.0.45
- Endpoint helpers now forward FastAPI route kwargs (name, tags, summary, operation_id, dependencies, include_in_schema) so agent routes embed cleanly in existing APIs.
- Populate
RUN_FINISHED.usageandRUN_ERROR.usageterminal-event token usage from provider metadata (previously always absent in Python). - Record token usage from non-streaming model calls via
OnChatModelEnd; streaming-disabled models previously reported no usage. - Cap token counts at
Number.MAX_SAFE_INTEGER(2**53 - 1) to match the TypeScript protobuf decoder. - Preserve plain string entries in multimodal message content conversion, keeping their original order alongside structured blocks.
- Guard reasoning content blocks against non-mapping values;
AIMessageChunk(content=["hello"])no longer raises and kills the stream. - Reject whitespace-only or leading-whitespace
image_urlpayloads that previously bypassed the empty-value guard.
Breaking changes
image_urlpayloads that are whitespace-only or have leading whitespace are now rejected; re-verify attachment inputs.- Token counts are now capped at 253 - 1 rather than int64's 263 - 1.
Java (Maven Central) - published at 16:57:07 UTC
| Package | Version | Install |
|---|---|---|
| java-core | 0.1.1 | com.ag-ui.community:java-core:0.1.1 |
| java-client | 0.1.1 | com.ag-ui.community:java-client:0.1.1 |
| java-server | 0.1.1 | com.ag-ui.community:java-server:0.1.1 |
java-core@0.1.1
- Added
REASONING("reasoning")to theRoleenum, enablingRole.fromValue("reasoning")to succeed. - Added a
ReasoningMessagetype to the sealedMessagehierarchy for representing reasoning in conversation history. ReasoningMessagecarries an optionalencryptedValue, retaining encrypted chain-of-thought reasoning across round trips.- Existing
(id, content)and(id, content, name)constructors are preserved;ReasoningMessageStartEventcan now carry therole: "reasoning"field.
Breaking changes
- The sealed
Messagehierarchy gains a newReasoningMessagevariant; exhaustive switches overMessagemust handle it.
java-client@0.1.1
- Maintenance release; no consumer-facing changes identified.
Breaking changes
None.
java-server@0.1.1
- Maintenance release; no consumer-facing changes identified.
Breaking changes
None.