<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Alessandro Pioli</title>
    <description>The latest articles on DEV Community by Alessandro Pioli (@alessandro_pioli_5fcab5ea).</description>
    <link>https://dev.to/alessandro_pioli_5fcab5ea</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1547356%2F14968805-d92e-4866-9b13-981463c72265.jpg</url>
      <title>DEV Community: Alessandro Pioli</title>
      <link>https://dev.to/alessandro_pioli_5fcab5ea</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/alessandro_pioli_5fcab5ea"/>
    <language>en</language>
    <item>
      <title>How we solved 502 Read Timeouts on slow reasoning LLM APIs using SSE Stream Aggregation in Python</title>
      <dc:creator>Alessandro Pioli</dc:creator>
      <pubDate>Fri, 24 Jul 2026 13:44:05 +0000</pubDate>
      <link>https://dev.to/alessandro_pioli_5fcab5ea/how-we-solved-502-read-timeouts-on-slow-reasoning-llm-apis-using-sse-stream-aggregation-in-python-1g36</link>
      <guid>https://dev.to/alessandro_pioli_5fcab5ea/how-we-solved-502-read-timeouts-on-slow-reasoning-llm-apis-using-sse-stream-aggregation-in-python-1g36</guid>
      <description>&lt;p&gt;Hi everyone!&lt;br&gt;
Managing multiple LLM providers, rate limits, and API downtime while keeping latency and costs low became a hassle, so I built llmproxy.&lt;br&gt;
What it does:&lt;br&gt;
⚡ Response Caching: Reduces duplicate requests and cuts API costs.&lt;br&gt;
🔄 Automatic Failover: Seamlessly fallbacks to backup providers or local models if your primary API is rate-limited or down.&lt;br&gt;
🏡 Local + Cloud Routing: Route light prompts to local models (Ollama/vLLM) and heavy ones to cloud APIs (OpenAI/Anthropic).&lt;br&gt;
🔌 OpenAI Compatible: Drop-in replacement—just point your base_url to llmproxy.&lt;br&gt;
It’s completely open-source and easy to spin up with Docker.&lt;/p&gt;

&lt;p&gt;📂 GitHub: &lt;a href="https://github.com/lordraw77/llmproxy" rel="noopener noreferrer"&gt;https://github.com/lordraw77/llmproxy&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I’d love to get your feedback, feature requests, or suggestions on how to improve it!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>python</category>
      <category>proxy</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
