DEV Community

Aman Kumar profile picture

Aman Kumar

404 bio not found

Joined Joined on 
Streaming LLM Output to the Browser Through Your Own Backend: FastAPI, Server-Sent Events and the Buffering Traps

Streaming LLM Output to the Browser Through Your Own Backend: FastAPI, Server-Sent Events and the Buffering Traps

Comments
5 min read
Testing Code That Calls an LLM: How I Mock the OpenAI Client in pytest (Without Burning Requests)

Testing Code That Calls an LLM: How I Mock the OpenAI Client in pytest (Without Burning Requests)

Comments
5 min read
Caching LLM Responses on Your Side: An Exact-Match Cache in Front of Any OpenAI-Compatible API (Python)

Caching LLM Responses on Your Side: An Exact-Match Cache in Front of Any OpenAI-Compatible API (Python)

Comments
5 min read
Model Fallback Chains on One OpenAI-Compatible Base URL: When to Switch Models and How (Python)

Model Fallback Chains on One OpenAI-Compatible Base URL: When to Switch Models and How (Python)

Comments
5 min read
OpenCode and Kilo Code With Any OpenAI-Compatible Provider: Config Files That Work, and the Context Limit Trap

OpenCode and Kilo Code With Any OpenAI-Compatible Provider: Config Files That Work, and the Context Limit Trap

Comments
4 min read
How to Use Claude in Cursor and Cline With a Custom OpenAI Base URL (2026 Setup Guide)

How to Use Claude in Cursor and Cline With a Custom OpenAI Base URL (2026 Setup Guide)

Comments
5 min read
6 Guardrails That Stopped My Coding Agent From Burning Through API Budget

6 Guardrails That Stopped My Coding Agent From Burning Through API Budget

Comments
2 min read
Claude Max’s 5-Hour Cap Broke My Refactor — Flat-Rate Gateway Setup That Fixed It

Claude Max’s 5-Hour Cap Broke My Refactor — Flat-Rate Gateway Setup That Fixed It

Comments
6 min read
loading...