<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>OpenCode on 陈少文的网站</title><link>https://www.chenshaowen.com/tags/opencode/</link><description>Recent content in OpenCode on 陈少文的网站</description><generator>Hugo -- gohugo.io</generator><language>zh</language><copyright>&amp;copy;2016 - {year}, All Rights Reserved.</copyright><lastBuildDate>Wed, 01 Jul 2026 00:00:00 +0000</lastBuildDate><sy:updatePeriod>weekly</sy:updatePeriod><atom:link href="https://www.chenshaowen.com/tags/opencode/atom.xml" rel="self" type="application/rss+xml"/><item><title>OpenCode 自定义模型配置与使用技巧</title><link>https://www.chenshaowen.com/blog/opencode-custom-model-config-and-tips.html</link><pubDate>Wed, 01 Jul 2026 00:00:00 +0000</pubDate><atom:modified>Wed, 01 Jul 2026 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/blog/opencode-custom-model-config-and-tips.html</guid><description>参考：OpenCode Config、Providers OpenCode 走 OpenAI Chat Completions API。接自定义网关时，在 opencode.jsonc 的 provider 块声明 endpoint 和模型列表。 1. 安装与配置文件 1 npm install -g opencode-ai 用户配置默认在 ~/.config/opencode/opencode.jsonc（也可用 openc</description><dc:creator>微信公众号</dc:creator><category>AI</category><category>OpenCode</category><category>编程助手</category><category>研发</category></item></channel></rss>