API endpoints returning empty responses cause framework behavior differences
kevinkern · x · 2026-08-21
Discusses an issue where AI API endpoints occasionally return empty responses (0 output tokens with unknown finish reason). Notes this affects different frameworks differently: opencode treats it as a success without retrying, while pi automatically retries.
Related event: opencode Fixes Silent Session Exit on Empty API Responses(2 posts)→
More from coding & agent
- Vision Agents Outperform Text-Only: 2x Token Efficiency, 1.6x Faster Tasks — cedric_chee · 2026-08-21
- HKUST's Hierarchical Self-Improvement: Evolving Agent Harnesses on Frozen LLMs — HKUST · 2026-08-21
- opencode silently stops on empty LLM responses; 1.18.20 claims retry fix — kevinkern · 2026-08-21
- Dev Forks eslint-plugin-react for ESLint 10, Ships v8 as Migration Path — viglovikov · 2026-08-21
- Read Hermes agent update logs to unlock new capabilities for free — EXM7777 · 2026-08-21
- Notion co-founder on agent-first workspaces — kimmonismus · 2026-08-21