◉CLAUDE LABJP
●2.1.301 — Adds the vim % motion, LaTeX math rendering in the VS Code panel, and a retry-watchdog limit for usage-limit waits (10/15)●2.1.299 — Conversations over 200K tokens left idle about 54 minutes get compacted; MCP allow rules now match only the server they name●SONNET 4.5 — Retires on the Claude API on 11/30, 45 days left. Migrate to Sonnet 5.5●WINDOWS — Reports say hooks break silently only on Japanese-locale Windows; check the character encoding first●FAST MODE — Opus 5.5 fast mode is out of research preview and no longer needs the beta header (10/15)●NEW — I Put a Ten-Line Promise File at the To…●2.1.301 — Adds the vim % motion, LaTeX math rendering in the VS Code panel, and a retry-watchdog limit for usage-limit waits (10/15)●2.1.299 — Conversations over 200K tokens left idle about 54 minutes get compacted; MCP allow rules now match only the server they name●SONNET 4.5 — Retires on the Claude API on 11/30, 45 days left. Migrate to Sonnet 5.5●WINDOWS — Reports say hooks break silently only on Japanese-locale Windows; check the character encoding first●FAST MODE — Opus 5.5 fast mode is out of research preview and no longer needs the beta header (10/15)●NEW — I Put a Ten-Line Promise File at the To…
TAG

streaming

26 articles
← Back to all tags
Related:
Claude API9api8production7tool-use4claude-api4python4SSE3TypeScript3troubleshooting3Claude Code2timeout2cost optimization2
⬡ API & SDK/2026-06-22Advanced

Claude API Streaming Breaks the "Everything Arrives" Assumption — Field Notes on Recovering from Partial Failure

Once concurrency climbs, Claude API streams disconnect mid-response, replay events, and emit half-finished tool arguments. Treating partial failure as the norm rather than an anomaly, here is how I rebuilt the implementation and monitoring to recover quietly.

⬡ API & SDK/2026-06-13Intermediate

Retiring the 'Please Continue' Prompt — Single-Pass Long-Form Generation with Claude Fable 5's 128k Output

Every month my report generation hit the output cap and I had to ask Claude to 'continue from here.' Claude Fable 5's 128k output let me retire that workflow: a streaming implementation, a resume-after-disconnect pattern, and a measured cost comparison against chunked generation.

⬡ API & SDK/2026-05-28Intermediate

Why JSON.parse Fails on Claude API Streaming tool_use Arguments — and How to Fix It

When you stream a Claude API response with tool_use, calling JSON.parse on each input_json_delta throws SyntaxError. Here is the correct way to assemble partial_json fragments, plus disconnect handling.

⬡ API & SDK/2026-05-06Intermediate

Claude API × Python in Practice: Building an AI Assistant with Tool Calling and Streaming

A practical guide to combining Claude API's Tool Use and Streaming in Python. Build a working AI assistant with real tool execution, complete source code included, plus a breakdown of the tricky parts that trip up most developers.

⬡ API & SDK/2026-05-04Intermediate

Claude API stop_sequences Not Working — 5 Things to Check Before You Give Up

Diagnose why your Claude API stop_sequences parameter isn't halting generation as expected. Practical breakdown of token boundaries, whitespace mismatches, Tool Use interactions, and streaming pitfalls — with copy-paste code examples.

⬡ API & SDK/2026-05-02Intermediate

Cancelling Claude API Streams the Right Way: AbortController, Token Billing, and Connection Hygiene

I measured 100 cancelled Claude API streams to find out what actually gets billed. The drift numbers, the $18.70/month a missing close handler costs you, the proxy buffering trap, and a ledger that never loses a usage event — Node.js and Python.

⬡ API & SDK/2026-04-26Intermediate

Claude API Streaming Stops Mid-Response: Diagnosing and Fixing the 5 Root Causes

When Claude API streaming stops unexpectedly, there are exactly 5 root causes. Learn to diagnose which one you're hitting and apply the right fix — from timeout tuning to stop_reason logging.

⬡ API & SDK/2026-04-20Advanced

Three Hidden Pitfalls When Implementing Claude API Streaming

Real-world lessons from building with Claude API streaming: runtime environment mismatches, error handling gaps, and silent token cost overruns — with working TypeScript examples.

⬡ API & SDK/2026-04-16Advanced

Claude API with Go: Production— Anthropic Go SDK, Concurrency, Tool Use & Microservice Integration

A practical guide to using Claude API with Go in production. Covers streaming with goroutines, concurrent Tool Use, rate limiting with channels, Gin/Echo integration, graceful shutdown, and Kubernetes deployment with working code examples.

⬡ API & SDK/2026-04-13Intermediate

Implementing Claude API SSE Streaming in Next.js App Router

Implement Server-Sent Events streaming from the Claude API in Next.js App Router — ReadableStream, a React hook, cross-chunk buffering, and the two silent failures that only show up in production.

⬡ API & SDK/2026-03-31Advanced

Claude API Streaming × Real-Time Chat UI: Production Implementation Guide

A practical guide to running Claude API streaming with Server-Sent Events in Next.js App Router at production grade, with measured latency, recovery patterns, and Cloudflare Workers edge-relay details from real indie operation

⬡ API & SDK/2026-03-25Advanced

Claude API Real-time Multimodal Agent Architecture: Design Patterns & Implementation

Master building real-time multimodal agents combining Vision and Tool Use. Learn streaming pipelines, production error handling, and cost optimization patterns with TypeScript and Python examples.