legion-llm 0.14.9 → 0.14.10
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 +7 -0
- data/lib/legion/llm/inference/executor/routing.rb +1 -0
- data/lib/legion/llm/inference/prompt.rb +5 -3
- data/lib/legion/llm/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: 259d94128ef1590e757e4929a78e0f260db10ccc447c92033164db40b236198b
|
|
4
|
+
data.tar.gz: 9b51f6f2bed159bbdbbd19d30af9c1b54e1905bbc284996865ab5da20b581450
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 03c431fb67fdb8a8f319bacde1afad35f98141412b7a721c2ff59b94d8f43ae6f2c0d89369e4d662ce310b4c1e0b4354087c90cf796dfed5a4585e79e4133a7a
|
|
7
|
+
data.tar.gz: e8480e859c80a2c98562fe6619de8f1a16ddd6ba7079d3006092c24f08f1ab9a6e31443080fb7e48d7647c1696fe8917e6b2a21f2ea48780ae079d4750732f34
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Legion LLM Changelog
|
|
2
2
|
|
|
3
|
+
## [0.14.10] - 2026-06-26
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- `routing_resolution_for` now passes `chain_required_capabilities` to `request_lane` — requests with tools filter out lanes without `:tools` capability. Prevents tool-bearing requests from routing to models that can't handle function calling (e.g. v100 with `enable_tools: false`).
|
|
8
|
+
- `Prompt.dispatch` no longer pre-bakes `default_provider`/`default_model` from settings when Inventory has lanes. Passes nil so the Executor's `step_routing` routes via `request_lane` using weight, context_window, and capabilities. Fixes GAIA/lex-agentic requests >16K getting locked to v100 by model filter instead of routing to h200.
|
|
9
|
+
|
|
3
10
|
## [0.14.9] - 2026-06-25
|
|
4
11
|
|
|
5
12
|
### Fixed
|
|
@@ -49,8 +49,10 @@ module Legion
|
|
|
49
49
|
resolved_model = lane&.dig(:model)
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
resolved_provider
|
|
53
|
-
|
|
52
|
+
if !auto_route && resolved_provider.nil? && resolved_model.nil? && Legion::LLM::Inventory.lanes.none?
|
|
53
|
+
resolved_provider = Legion::Settings[:llm][:default_provider]
|
|
54
|
+
resolved_model = Legion::Settings[:llm][:default_model]
|
|
55
|
+
end
|
|
54
56
|
|
|
55
57
|
request(message,
|
|
56
58
|
provider: resolved_provider,
|
|
@@ -93,7 +95,7 @@ module Legion
|
|
|
93
95
|
quality_check: nil,
|
|
94
96
|
**)
|
|
95
97
|
auto_route = Inference::Request.auto_routing_model?(model)
|
|
96
|
-
if !auto_route && (provider.nil? || model.nil?)
|
|
98
|
+
if !auto_route && (provider.nil? || model.nil?) && Legion::LLM::Inventory.lanes.none?
|
|
97
99
|
raise LLMError, "Prompt.request: provider and model must be set (got provider=#{provider.inspect}, model=#{model.inspect}). " \
|
|
98
100
|
'Configure Legion::Settings[:llm][:default_provider] and [:default_model], or pass them explicitly.'
|
|
99
101
|
end
|
data/lib/legion/llm/version.rb
CHANGED