diff --git a/Cargo.lock b/Cargo.lock index 75e32b03..e4b8f246 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2743,7 +2743,7 @@ dependencies = [ [[package]] name = "tw-api" -version = "0.55.0" +version = "0.55.1" dependencies = [ "serde", "serde_json", @@ -2753,7 +2753,7 @@ dependencies = [ [[package]] name = "tw-bedrock" -version = "0.55.0" +version = "0.55.1" dependencies = [ "aws-credential-types", "aws-sigv4", @@ -2774,7 +2774,7 @@ dependencies = [ [[package]] name = "tw-breaker" -version = "0.55.0" +version = "0.55.1" dependencies = [ "serde", "serde_json", @@ -2782,7 +2782,7 @@ dependencies = [ [[package]] name = "tw-config" -version = "0.55.0" +version = "0.55.1" dependencies = [ "blake3", "libc", @@ -2807,7 +2807,7 @@ dependencies = [ [[package]] name = "tw-control" -version = "0.55.0" +version = "0.55.1" dependencies = [ "axum", "base64", @@ -2847,7 +2847,7 @@ dependencies = [ [[package]] name = "tw-dialect" -version = "0.55.0" +version = "0.55.1" dependencies = [ "serde", "serde_json", @@ -2855,7 +2855,7 @@ dependencies = [ [[package]] name = "tw-engine" -version = "0.55.0" +version = "0.55.1" dependencies = [ "serde", "serde_json", @@ -2868,7 +2868,7 @@ dependencies = [ [[package]] name = "tw-gateway" -version = "0.55.0" +version = "0.55.1" dependencies = [ "arc-swap", "async-stream", @@ -2916,7 +2916,7 @@ dependencies = [ [[package]] name = "tw-guard" -version = "0.55.0" +version = "0.55.1" dependencies = [ "base64", "regex", @@ -2929,7 +2929,7 @@ dependencies = [ [[package]] name = "tw-link" -version = "0.55.0" +version = "0.55.1" dependencies = [ "serde", "serde_json", @@ -2943,7 +2943,7 @@ dependencies = [ [[package]] name = "tw-observe" -version = "0.55.0" +version = "0.55.1" dependencies = [ "tokio", "tracing", @@ -2952,7 +2952,7 @@ dependencies = [ [[package]] name = "tw-pricing" -version = "0.55.0" +version = "0.55.1" dependencies = [ "arc-swap", "flate2", @@ -2965,14 +2965,14 @@ dependencies = [ [[package]] name = "tw-secret" -version = "0.55.0" +version = "0.55.1" dependencies = [ "thiserror", ] [[package]] name = "tw-store" -version = "0.55.0" +version = "0.55.1" dependencies = [ "bytes", "rusqlite", @@ -2989,7 +2989,7 @@ dependencies = [ [[package]] name = "tw-types" -version = "0.55.0" +version = "0.55.1" dependencies = [ "serde", "serde_json", @@ -2998,7 +2998,7 @@ dependencies = [ [[package]] name = "tw-watch" -version = "0.55.0" +version = "0.55.1" dependencies = [ "notify", "tempfile", @@ -3008,7 +3008,7 @@ dependencies = [ [[package]] name = "tw-yaml" -version = "0.55.0" +version = "0.55.1" dependencies = [ "saphyr-parser", "serde_yaml_ng", @@ -3018,7 +3018,7 @@ dependencies = [ [[package]] name = "twcore" -version = "0.55.0" +version = "0.55.1" dependencies = [ "anyhow", "axum", diff --git a/Cargo.toml b/Cargo.toml index 614c11b3..c4984d99 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,7 +50,7 @@ categories = ["network-programming", "web-programming::http-server"] # 二进制走 CalVer,crate 走 SemVer —— 两者是两回事,卖给不同的人。 # 这里是 crate 的版本。 -version = "0.55.0" +version = "0.55.1" [workspace.dependencies] # ── 内部 crate ─────────────────────────────────────────── diff --git a/release-notes/0.55.1.md b/release-notes/0.55.1.md new file mode 100644 index 00000000..b93b8289 --- /dev/null +++ b/release-notes/0.55.1.md @@ -0,0 +1,8 @@ +This release stops a request that requires a server-side tool, such as Claude Code's web search, from being sent without it to an upstream of another format. + +**Upgrade notes** + +- The control-plane protocol version is unchanged (28) and so is the request store's schema (22). ThinkWatch Lite 2026.9.23 includes 0.54.0 (protocol 27) and does not connect to 0.55.x: a server used with it stays on 0.54.0 until the app is updated to a release that includes 0.55.1. +- New message codes: `gw.convert.tool_unsendable` and `gw.convert.tools_unsendable`. + +**Requests that require a server-side tool.** Claude Code runs each web search as a request that carries only the server-side `web_search` tool and forces the model to use it. Converted for an upstream of another format (AWS Bedrock, OpenAI, Gemini), the server tool was dropped, since only the provider it belongs to runs it: the model answered without searching, and Claude Code passed that answer on as the search results. When the tool a request forces cannot be sent in the upstream's format, that attempt is no longer made. The next upstream of the route is tried, and if none can take the request the client gets a 400 that names the tool and the upstream. Server-side tools offered alongside other tools, which the model is free to leave unused, are still dropped and listed in the request's details as before.