lex-llm-vertex 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed2140852009fd8e4261da39a98a2f458b0241dcfa7cfb45d3bbf3aee9cc6fd4
4
- data.tar.gz: c4a52cd4ead2d9e274b82d698800b92734dccb4716cb575468cf5567ca88f0b8
3
+ metadata.gz: d7dbca12cb0f99264ee9fd713291622b0ee9ad6f238193811bdcfb2847be3211
4
+ data.tar.gz: be61eafce74bdaec30c737ec906abafbbacad3f4c125b52199db8de8dd3d3ca6
5
5
  SHA512:
6
- metadata.gz: 957512b568de5bcbd20f3c73881e0fc175c0c54428ba2dee4722d3a935d7af578577a38ce940609cdb464d764967b6a655700a7e97eedf2e985d5486dd168953
7
- data.tar.gz: c573c0bcf6ebfb0e08c584f0ee712b86264fe9621e01a28b2149b6e51c2cc208dbefd3f451393c7998f1c1739f4e41d14e623785abc8cf92acfc8f9097a2e23f
6
+ metadata.gz: f557d2fbf831656f3aa0d4a0788ecfedab7889f5d9fdd666300ddad2be3348184e56c8bc0f5d3a469b64d9d12e2fae846bcfbd97100ff6a8b1f755cdaea803c2
7
+ data.tar.gz: 90199aa13e8d105931040d6131f9c1591cc7bc956dd61e0046589a7eba06d0ab5aae04cd8fdce276a28adafd980e8c3a4a781687bc626e31097a719a8c47220b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.8 - 2026-05-18
4
+
5
+ - Fix streaming tool calls: `build_chunk` now passes `tool_calls: parse_tool_calls(parts)` to the Chunk constructor. Previously tool calls were omitted from streaming responses entirely.
6
+
7
+
3
8
  ## 0.2.7 - 2026-05-08
4
9
 
5
10
  - Accept keyword arguments in `list_models` to match the base provider contract called by `discover_offerings`.
@@ -560,6 +560,7 @@ module Legion
560
560
  Legion::Extensions::Llm::Chunk.new(
561
561
  role: :assistant,
562
562
  content: text_content(parts),
563
+ tool_calls: parse_tool_calls(parts),
563
564
  input_tokens: usage['promptTokenCount'],
564
565
  output_tokens: output_tokens(usage),
565
566
  model_id: body['modelVersion'] || model,
@@ -4,7 +4,7 @@ module Legion
4
4
  module Extensions
5
5
  module Llm
6
6
  module Vertex
7
- VERSION = '0.2.7'
7
+ VERSION = '0.2.8'
8
8
  end
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lex-llm-vertex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - LegionIO