lex-llm 0.6.10 → 0.6.11

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: e441fc6b1e568e1e7cde529aecb14655cfc6df845accdfbf706cade536faa25e
4
- data.tar.gz: fa14725026a56fe266e5c7b4be232fc1b750bf35293830514a6ad103b1da3abc
3
+ metadata.gz: da721140a63f719b42d46e02083fa00399e2c5a9345570feb0344f6724e29e07
4
+ data.tar.gz: c52cc5f973a0d7de1533471596197a081134f469c1042eff4714335cfefe17b2
5
5
  SHA512:
6
- metadata.gz: f14ac394687d2059d90562529518085a4cced1732e9baa85c5847ad2fffd4ea89efeb735167ebae6533d4b335f9ddd7fcc8982c0bdac137add3d35a48010b19e
7
- data.tar.gz: ed81c83224bdcbbf18b0b4fc6f8b9e2bf0886ed44d80a2dde363d4920a3a4957d4f56f34429b6ea7b7fd5ba96fd4a5b5e60fb9bc0e59cca556b1ed11e7314080
6
+ metadata.gz: 381f82a24fa8510af4031b834ed6136ea0625d5746f5d59302c6c7ba872d1f1bdb5820b18b41d97b644abc4f30533eb7b9e725c9f46d5cd1ce50f9fb3b13dfec
7
+ data.tar.gz: 6d7efad9d6ffbeb35d09e1a74b64af78b4fb59f9f6e3b43a83666373ac538778671403ba317ff9a1c10bd868e01183347395774c79a3c5c64773a637eea3a06d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.11 - 2026-07-15
4
+
5
+ ### Added
6
+ - **Gemma4 channel-based thinking tags** added to `ThinkingExtractor::THINK_TAG_PAIRS`. Gemma4 models use `<|channel>` / `<channel|>` as their reasoning block delimiters (equivalent to Qwen's `<think>`/`</think>`). If any serving engine (vLLM, SGLang, etc.) passes these tags through raw in the content field instead of pre-parsing them into `reasoning_content`, the extractor now strips them correctly.
7
+
3
8
  ## 0.6.10 - 2026-07-09
4
9
 
5
10
  ### Added
@@ -10,7 +10,8 @@ module Legion
10
10
 
11
11
  THINK_TAG_PAIRS = [
12
12
  ['<thinking>', '</thinking>'],
13
- ['<think>', '</think>']
13
+ ['<think>', '</think>'],
14
+ ['<|channel>', '<channel|>']
14
15
  ].freeze
15
16
  UNTAGGED_PREAMBLE_MAX_LENGTH = 4_000
16
17
  UNTAGGED_PREAMBLE_STARTS = [
@@ -3,7 +3,7 @@
3
3
  module Legion
4
4
  module Extensions
5
5
  module Llm
6
- VERSION = '0.6.10'
6
+ VERSION = '0.6.11'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lex-llm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.10
4
+ version: 0.6.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - LegionIO