From b5a30be0767ddb16f75d3a6023ed5ba8060aa26d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Arrufat?= Date: Thu, 24 Sep 2026 20:43:11 +0200 Subject: [PATCH] build: bump zenai Picks up effort=none sending thinking disabled to Anthropic (zenai#19) and the reasoning max_tokens floor on every provider (zenai#18). ErrorDetail now carries the parsed error message instead of the raw body. --- build.zig.zon | 4 ++-- src/browser/tools.zig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.zig.zon b/build.zig.zon index e78035c35..fa9608e67 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -36,8 +36,8 @@ .hash = "sqlite3-3.53.2-DMxLWuAOAAA_Px0arJOIOaP4AKEu5prbsQgPMA35W1zz", }, .zenai = .{ - .url = "git+https://github.com/lightpanda-io/zenai.git#15d6e4c37b4508373ba7ae6a2f400717f4ff9d89", - .hash = "zenai-0.0.0-iOY_VLq7BgAZIQzUIZ4w8ikmwpuNaJdyJSvKYCtnVing", + .url = "git+https://github.com/lightpanda-io/zenai.git#43658858f6c677b107a0f4fb76dc92e5ac97d3a4", + .hash = "zenai-0.0.0-iOY_VKquBgBT36nAFRpM4tQki3JNZgFvTwQY6Pz-wiQx", }, .isocline = .{ .url = "git+https://github.com/arrufat/isocline#ec538faf435c616a6b38716f53980b5815c30f8a", diff --git a/src/browser/tools.zig b/src/browser/tools.zig index 87ca0cd7c..b31520d8d 100644 --- a/src/browser/tools.zig +++ b/src/browser/tools.zig @@ -1214,7 +1214,7 @@ fn apiSearch( if (client.last_error.status) |status| { log.warn(.browser, @tagName(engine.tag) ++ " non-2xx", .{ .status = status, - .body = client.last_error.body, + .message = client.last_error.message, }); } return err;