CATCH #1198
DETECTED SEP 4, 2026 23:17 UTC
THE CATCHscore 10/10
EXHIBIT 1198 · FLASH
Sep 4, 2026 23:17 UTC
pypi
anthropic
Anthropic's 1.4.0 Python package includes references to new models, "claude-opus-4-8" and "claude-haiku-4-5", and introduces a beta refusal fallback middleware feature.
READY TO POST:
anthropic's latest python package (1.4.0) just shipped with mentions of new models like claude-opus-4-8 and claude-haiku-4-5. looks like some interesting stuff is brewing!
a new beta refusal fallback middleware landed in anthropic's python client. also spotted model ids "claude-opus-4-8" and "claude-haiku-4-5". could be a big update coming soon.
EVIDENCE — the receipts
anthropic 1.3.0 -> 1.4.0: +94 strings, -416 strings, 43 interesting
[model_id] (2)
+ py
client = Anthropic(middleware=[BetaRefusalFallbackMiddleware([{"model": "claude-opus-4-8"}])])
state = BetaFallbackState()
with state:
message = client.beta.messages.create(**params)
+ python
with client.messages.stream(
model="claude-haiku-4-5",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello!"}],
) as stream:
for text in stream.text_stream:
print(text, end="", flush=True)
[feature_flag] (2)
+ py
client = Anthropic(middleware=[BetaRefusalFallbackMiddleware([{"model": "claude-opus-4-8"}])])
state = BetaFallbackState()
with state:
message = client.beta.messages.create(**params)
+ py
with client.beta.messages.stream(...) as stream:
for chunk in stream:
...
[sentence] (43)
+ py
client = Anthropic(middleware=[BetaRefusalFallbackMiddleware([{"model": "claude-opus-4-8"}])])
state = BetaFallbackState()
with state:
message = client.beta.messages.create(**params)
+ python
with client.messages.stream(
model="claude-haiku-4-5",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello!"}],
) as stream:
for text in stream.text_stream:
print(text, end="", flush=True)
+ py
with client.beta.messages.stream(...) as stream:
for chunk in stream:
...
+ .get_final_text() can only be called when the API returns a `text` content block.
The API returned {','.join([b.type for b in message.content])} content block type(s) that you can access by calling get_final_message().content
+ : a field set to a value
overrides it, a field explicitly
+ : a key set to a value overrides
it, a key explicitly
+ ; the whole object is dropped when nothing is left.
Always a fresh dict;
+ `httpx` objects don't work with `httpx2`, and would otherwise fail deep inside a request.
+ bash
pip install "anthropic[go
caught by the 20-minute sweep ·
the live wire · all receipts