<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Provider on Latent</title>
    <link>https://latent-site.pages.dev/tags/provider/</link>
    <description>Recent content in Provider on Latent</description>
    <generator>Hugo</generator>
    <language>zh</language>
    <copyright>2026 Latent</copyright>
    <lastBuildDate>Sun, 09 Aug 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://latent-site.pages.dev/tags/provider/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>nanobot 源码解读 · 07 | Provider 与模型路由：一个模型名如何落到正确的后端</title>
      <link>https://latent-site.pages.dev/posts/2026/08/nanobot-%E6%BA%90%E7%A0%81%E8%A7%A3%E8%AF%BB-07-provider-%E4%B8%8E%E6%A8%A1%E5%9E%8B%E8%B7%AF%E7%94%B1%E4%B8%80%E4%B8%AA%E6%A8%A1%E5%9E%8B%E5%90%8D%E5%A6%82%E4%BD%95%E8%90%BD%E5%88%B0%E6%AD%A3%E7%A1%AE%E7%9A%84%E5%90%8E%E7%AB%AF/</link>
      <pubDate>Sun, 09 Aug 2026 00:00:00 +0000</pubDate>
      <guid>https://latent-site.pages.dev/posts/2026/08/nanobot-%E6%BA%90%E7%A0%81%E8%A7%A3%E8%AF%BB-07-provider-%E4%B8%8E%E6%A8%A1%E5%9E%8B%E8%B7%AF%E7%94%B1%E4%B8%80%E4%B8%AA%E6%A8%A1%E5%9E%8B%E5%90%8D%E5%A6%82%E4%BD%95%E8%90%BD%E5%88%B0%E6%AD%A3%E7%A1%AE%E7%9A%84%E5%90%8E%E7%AB%AF/</guid>
      <description>逐函数拆解 nanobot 的 Provider 层：registry.py 如何用一张 ProviderSpec 表做唯一真相源、factory 如何把模型名解析到具体后端、OpenAICompatProvider 如何统一适配几十家 OpenAI 兼容服务、FallbackProvider 如何用熔断器+流式续接做模型降级，以及 base.py 里对瞬态错误的自动重试。配真实代码、路由流向图与可运行例子。</description>
    </item>
  </channel>
</rss>
