fix: correctly parse thinking content from gemma4 (#8407)

Signed-off-by: jh-block <jhugo@block.xyz>
This commit is contained in:
jh-block
2026-04-08 21:22:35 +02:00
committed by GitHub
parent a7881a2e6c
commit 8b1007eee0
6 changed files with 73 additions and 27 deletions
+2 -2
View File
@@ -179,7 +179,7 @@ tree-sitter-typescript = { workspace = true }
which = { workspace = true }
pctx_code_mode = { version = "^0.3.0", optional = true }
pulldown-cmark = "0.13.0"
llama-cpp-2 = { version = "0.1.142", features = ["sampler"], optional = true }
llama-cpp-2 = { version = "0.1.143", features = ["sampler"], optional = true }
encoding_rs = "0.8.35"
pastey = "0.2.1"
shell-words = { workspace = true }
@@ -197,7 +197,7 @@ keyring = { version = "3.6.2", features = ["windows-native"] }
[target.'cfg(target_os = "macos")'.dependencies]
candle-core = { version = "0.9", default-features = false, features = ["metal"], optional = true }
candle-nn = { version = "0.9", default-features = false, features = ["metal"], optional = true }
llama-cpp-2 = { version = "0.1.142", features = ["sampler", "metal"], optional = true }
llama-cpp-2 = { version = "0.1.143", features = ["sampler", "metal"], optional = true }
keyring = { version = "3.6.2", features = ["apple-native"] }
[target.'cfg(target_os = "linux")'.dependencies]