<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>工具 - Category - Xiheyaoling's Blog</title><link>https://code-dom.github.io/writing-blog/categories/%E5%B7%A5%E5%85%B7/</link><description>工具 - Category - Xiheyaoling's Blog</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>xiheyaoling@gmail.com (xiheyaoling)</managingEditor><webMaster>xiheyaoling@gmail.com (xiheyaoling)</webMaster><lastBuildDate>Mon, 05 Jan 2026 12:05:29 +0800</lastBuildDate><atom:link href="https://code-dom.github.io/writing-blog/categories/%E5%B7%A5%E5%85%B7/" rel="self" type="application/rss+xml"/><item><title>Claude Code 快速接入多种大模型 API</title><link>https://code-dom.github.io/writing-blog/claude/</link><pubDate>Mon, 05 Jan 2026 12:05:29 +0800</pubDate><author>xiheyaoling</author><guid>https://code-dom.github.io/writing-blog/claude/</guid><description><![CDATA[<h3 id="核心权衡直连-vs-代理">核心权衡：直连 vs 代理</h3>
<p>在使用 Claude Code 时，想要更换底层的 AI 模型，通常面临两种选择：</p>
<ol>
<li><strong>原生支持 Anthropic API 的模型</strong>：可以直接配置使用。</li>
<li><strong>不支持 Anthropic API 的模型</strong>（如 OpenAI、DeepSeek 等）：通常需要引入 <code>claude-code-router</code> 或 <code>claude-code-proxy</code> 等第三方中间件进行协议转换。</li>
</ol>
<p>虽然第三方代理能提供更强大的路由和分流功能，但也引入了<strong>额外的环境配置成本</strong>。重新审视我接入多模型的核心诉求，其实非常简单：<strong>便宜的模型处理简单任务，昂贵的模型处理复杂逻辑</strong>。</p>]]></description></item><item><title>Windows使用docker部署中间件</title><link>https://code-dom.github.io/writing-blog/windows%E4%BD%BF%E7%94%A8docker%E9%83%A8%E7%BD%B2%E4%B8%AD%E9%97%B4%E4%BB%B6/</link><pubDate>Sun, 21 Dec 2025 22:03:51 +0800</pubDate><author>xiheyaoling</author><guid>https://code-dom.github.io/writing-blog/windows%E4%BD%BF%E7%94%A8docker%E9%83%A8%E7%BD%B2%E4%B8%AD%E9%97%B4%E4%BB%B6/</guid><description><![CDATA[<hr>
<h2 id="背景">背景</h2>
<p><strong>受限于现有设备的硬件性能</strong>（一台 M1/8G Mac 和一台 i3-9100f/8G Windows），在开发应用时我遇到了明显的瓶颈。尤其是当需要同时运行 MySQL、Redis、Kafka、Elasticsearch 等多个中间件，再启动 Web 应用时，<strong>单台设备的 CPU 和内存资源均难以独立支撑</strong>。</p>]]></description></item><item><title>Hugo使用</title><link>https://code-dom.github.io/writing-blog/hugo%E4%BD%BF%E7%94%A8/</link><pubDate>Sun, 17 Aug 2025 13:04:40 +0800</pubDate><author>xiheyaoling</author><guid>https://code-dom.github.io/writing-blog/hugo%E4%BD%BF%E7%94%A8/</guid><description><![CDATA[<h2 id="前置项">前置项</h2>
<p>前提：安装hugo，<a href="https://hugo.opendocs.io/installation/" target="_blank" rel="noopener noreffer ">官网链接</a>，自行根据自己电脑系统进行选择</p>
<h2 id="quick-start">Quick start</h2>
<p>1.创建项目</p>
<p><code>hugo new site 项目名</code></p>

<p>2.创建具体blog</p>
<p><code>hugo new xxx.md</code></p>
<p>在文档中撰写blog内容</p>]]></description></item></channel></rss>