fix(ai): update reported Claude Code version

This commit is contained in:
Armin Ronacher
2026-09-22 20:52:39 +02:00
parent b4588f26af
commit 3a624b82dd
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -10,6 +10,7 @@
### Fixed
- Fixed image-only user messages being rejected by some OpenAI-compatible providers because they included an empty text part ([#9797](https://github.com/earendil-works/pi/issues/9797))
- Fixed Anthropic OAuth requests reporting an outdated Claude Code version.
## [0.87.0] - 2026-09-21
+1 -1
View File
@@ -84,7 +84,7 @@ function getCacheControl(
}
// Stealth mode: Mimic Claude Code's tool naming exactly
const claudeCodeVersion = "2.1.251";
const claudeCodeVersion = "2.1.280";
// Claude Code 2.x tool names (canonical casing)
// Source: https://cchistory.mariozechner.at/data/prompts-2.1.11.md