Skip to content

Commit 5dab2ff

Browse files
committed
chore(release): prepare 0.13.2 - bump version and changelog
Patch release covering the tracing fix merged after v0.13.1: gen_ai.output.messages is now recorded on the provider-level chat span (previously only on invoke_agent and cubepi.turn).
1 parent 4546104 commit 5dab2ff

2 files changed

Lines changed: 23 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.13.2] - 2026-07-23
11+
12+
### Fixed
13+
14+
- **`gen_ai.output.messages` now recorded on the `chat` span.** Per the
15+
tracing design spec (§10.3/§10.5), the provider-level `chat` span's
16+
`gen_ai.output.messages` should reflect what the provider actually
17+
returned - independent of the turn/agent-level rollup. A code comment
18+
in `_on_provider_response` already claimed it would record "the
19+
normalized output messages where derivable", but only
20+
`cubepi.llm.raw_response` was ever set on this span;
21+
`gen_ai.output.messages` was written only on `invoke_agent` and
22+
`cubepi.turn`. The recorder now reconstructs the semconv
23+
output-message parts (text / reasoning / tool_call) directly from the
24+
assembled response body via a new `_derive_output_message_from_body()`
25+
helper, mirroring the existing three-way provider-shape dispatch
26+
(Anthropic-shaped, OpenAI `chat.completion`-shaped, OpenAI
27+
Responses-shaped). Unrecognized shapes or empty content set nothing,
28+
identical to prior behavior (no regression).
29+
1030
## [0.13.1] - 2026-07-15
1131

1232
### Fixed
@@ -695,7 +715,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
695715
- **[0.2.0]** - 2026-05-10 — see the [release notes](https://github.com/cubeplexai/cubepi/releases/tag/v0.2.0).
696716
- **[0.1.0]** - 2026-05-09 — initial release. See the [release notes](https://github.com/cubeplexai/cubepi/releases/tag/v0.1.0).
697717

698-
[Unreleased]: https://github.com/cubeplexai/cubepi/compare/v0.13.1...HEAD
718+
[Unreleased]: https://github.com/cubeplexai/cubepi/compare/v0.13.2...HEAD
719+
[0.13.2]: https://github.com/cubeplexai/cubepi/compare/v0.13.1...v0.13.2
699720
[0.13.1]: https://github.com/cubeplexai/cubepi/compare/v0.13.0...v0.13.1
700721
[0.13.0]: https://github.com/cubeplexai/cubepi/compare/v0.12.0...v0.13.0
701722
[0.12.0]: https://github.com/cubeplexai/cubepi/compare/v0.11.0...v0.12.0

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cubepi"
3-
version = "0.13.1"
3+
version = "0.13.2"
44
description = "Pythonic async-native agent framework"
55
readme = "README.md"
66
license = "MIT"

0 commit comments

Comments
 (0)