lex-llm-vertex 0.2.6 → 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 +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/legion/extensions/llm/vertex/provider.rb +2 -1
- data/lib/legion/extensions/llm/vertex/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7dbca12cb0f99264ee9fd713291622b0ee9ad6f238193811bdcfb2847be3211
|
|
4
|
+
data.tar.gz: be61eafce74bdaec30c737ec906abafbbacad3f4c125b52199db8de8dd3d3ca6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f557d2fbf831656f3aa0d4a0788ecfedab7889f5d9fdd666300ddad2be3348184e56c8bc0f5d3a469b64d9d12e2fae846bcfbd97100ff6a8b1f755cdaea803c2
|
|
7
|
+
data.tar.gz: 90199aa13e8d105931040d6131f9c1591cc7bc956dd61e0046589a7eba06d0ab5aae04cd8fdce276a28adafd980e8c3a4a781687bc626e31097a719a8c47220b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
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
|
+
|
|
8
|
+
## 0.2.7 - 2026-05-08
|
|
9
|
+
|
|
10
|
+
- Accept keyword arguments in `list_models` to match the base provider contract called by `discover_offerings`.
|
|
11
|
+
|
|
3
12
|
## 0.2.6 - 2026-05-06
|
|
4
13
|
|
|
5
14
|
- Load provider-owned fleet actors through the LegionIO subscription base and the canonical Vertex provider root.
|
|
@@ -112,7 +112,7 @@ module Legion
|
|
|
112
112
|
"#{publisher_model_path(model)}:#{suffix}"
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
-
def list_models
|
|
115
|
+
def list_models(**)
|
|
116
116
|
log.info { 'listing available Vertex models from static catalog' }
|
|
117
117
|
STATIC_MODELS.map { |entry| model_info_from_static(entry) }.tap do |models|
|
|
118
118
|
log.info { "discovered #{models.size} Vertex model(s); publishing to registry" }
|
|
@@ -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,
|