lex-llm-vllm 0.3.16 → 0.3.17
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/.rubocop.yml +1 -4
- data/CHANGELOG.md +5 -0
- data/lex-llm-vllm.gemspec +1 -1
- data/lib/legion/extensions/llm/vllm/provider.rb +5 -2
- data/lib/legion/extensions/llm/vllm/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 142f55fe9f62c87ef3fe5fe545ba652ff73426af265aa9a0aaafa2bbb703ec35
|
|
4
|
+
data.tar.gz: ce24e483f5dea06abb6be25d26bedeaf531782b344500f73ed4fe1161e69c372
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be6ebfd3ae8e78a9b0a64078cb7e947d08fb2f58cce8c61b5ea37a0181bcda83775d928b1f638e1518e9ca6640da196305203a169beeb746e6b13335b29f70a8
|
|
7
|
+
data.tar.gz: e74e87adb11b6d67071dfb053f72e3ef882fcf5f50b39e889b3d72071af3f41fe97fc524e89a6c20fe7606aea3e1db016d33459b965ea934aeeeb441c0b0dec1
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.17] - 2026-08-04
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- Preserve each streamed tool call's wire index when bridging canonical vLLM chunks to legacy chunks, allowing `lex-llm` 0.6.16 to correlate interleaved argument fragments for parallel tool calls instead of attaching them by recency.
|
|
7
|
+
|
|
3
8
|
## [0.3.16] - 2026-07-31
|
|
4
9
|
|
|
5
10
|
### Fixed
|
data/lex-llm-vllm.gemspec
CHANGED
|
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
|
|
|
27
27
|
spec.add_dependency 'legion-logging', '>= 1.3.2'
|
|
28
28
|
spec.add_dependency 'legion-settings', '>= 1.3.14'
|
|
29
29
|
spec.add_dependency 'legion-transport', '>= 1.4.14'
|
|
30
|
-
spec.add_dependency 'lex-llm', '>= 0.6.
|
|
30
|
+
spec.add_dependency 'lex-llm', '>= 0.6.16'
|
|
31
31
|
end
|
|
@@ -371,7 +371,9 @@ module Legion
|
|
|
371
371
|
# Map a canonical tool_call_delta onto the legacy chunk tool_calls hash.
|
|
372
372
|
# Fragment semantics matter: an entry with a non-nil id starts a new tool
|
|
373
373
|
# call in the StreamAccumulator; a nil id appends the raw arguments
|
|
374
|
-
# fragment to the
|
|
374
|
+
# fragment to the call at its wire index (block_index). Carrying the
|
|
375
|
+
# index is what lets the accumulator correlate interleaved parallel
|
|
376
|
+
# fragments to the right call instead of falling back to recency.
|
|
375
377
|
def legacy_chunk_tool_calls(canonical)
|
|
376
378
|
return nil unless canonical.type == :tool_call_delta && canonical.tool_call
|
|
377
379
|
|
|
@@ -381,7 +383,8 @@ module Legion
|
|
|
381
383
|
key => Legion::Extensions::Llm::ToolCall.new(
|
|
382
384
|
id: tc.id,
|
|
383
385
|
name: tc.name,
|
|
384
|
-
arguments: tc.arguments
|
|
386
|
+
arguments: tc.arguments,
|
|
387
|
+
index: canonical.block_index
|
|
385
388
|
)
|
|
386
389
|
}
|
|
387
390
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lex-llm-vllm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- LegionIO
|
|
@@ -71,14 +71,14 @@ dependencies:
|
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|
|
73
73
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: 0.6.
|
|
74
|
+
version: 0.6.16
|
|
75
75
|
type: :runtime
|
|
76
76
|
prerelease: false
|
|
77
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
78
78
|
requirements:
|
|
79
79
|
- - ">="
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: 0.6.
|
|
81
|
+
version: 0.6.16
|
|
82
82
|
description: vLLM provider integration for the LegionIO LLM routing framework.
|
|
83
83
|
email:
|
|
84
84
|
- matthewdiverson@gmail.com
|