Curated with by@mohithkumar808

№ 0471GitHub

Muse Spark fix for DeepSeek Harness

A config and write-up that makes muse-spark-1.2-contributor via OpenCode Go work in DeepSeek Harness, fixing empty first-turn output and multi-turn thinking replay errors.

caicaitou001/muse-opencode-deepseek-harnessREADME ↗

Muse Spark via OpenCode Go in DeepSeek Harness (DSH)

让 muse-spark-1.2-contributor(OpenCode Zen Go 网关)在 DeepSeek Harness(deepseek-harness / pi-ai)里正确工作:首轮出内容 + 多轮 thinking 回传不报错。

Make muse-spark-1.2-contributor (the OpenCode Zen Go gateway model) work correctly in DeepSeek Harness (deepseek-harness / pi-ai): first-turn output plus lossless multi-turn thinking replay.

免责声明 / Disclaimer:本仓库是个人技术分享,非 DeepSeek / opencode 官方项目,与 deepseek-ai、sst/opencode、opencode.ai 均无关联。文中涉及的协议与代码分析基于公开接口,仅用于学习与自用。
This is a personal tech-sharing repo. It is not an official DeepSeek or opencode project and is unrelated to deepseek-ai, sst/opencode, or opencode.ai. Protocol/code analysis herein is based on public interfaces, for learning and personal use only.

项目 值
模型 muse-spark-1.2-contributor (Muse Spark 1.2 Contributor)
网关 OpenCode Zen Go — https://opencode.ai/zen/go/v1
协议(正确) OpenAI Responses API (openai-responses)
宿主 DeepSeek Harness (deepseek-harness), LLM 适配层 @deepseek-ai/dsh-llm-pi-ai → @earendil-works/pi-ai
状态 ✅ 已验证:多轮 + thinking 回传 + 工具调用 + 图片输入 正常

一、问题现象 / Symptoms

在 ~/.dsh/settings.yaml 里用 muse-spark-1.2-contributor,无论怎么配都会遇到下列错误之一:

配置的协议 现象
openai-completions Stream ended without finish_reason(流被网关截断,message.content 恒为空)
anthropic-messages model returned a completed response with no content(非流式空回复)
openai-responses + 错误的 assistant 补丁 input[5] did not match any supported type(发了 responses 不认识的输入项)
openai-responses(原始)多轮 reasoning_content in the thinking mode must be passed back to the API

而 在 opencode 官方客户端里,Muse 完全正常。


二、为什么 opencode 能用 / Why it works in opencode

opencode 的模型目录来自 https://models.opencode.ai/api.json(本地缓存在 ~/.cache/opencode/models.json)。其中:

// provider "opencode-go"
{
  "id": "opencode-go",
  "npm": "@ai-sdk/openai-compatible",
  "api": "https://opencode.ai/zen/go/v1"
}
// model "muse-spark-1.2-contributor"
{
  "provider": { "npm": "@ai-sdk/openai" },   // ← 关键:模型级覆盖为 OpenAI Responses SDK
  "reasoning_options": [
    { "type": "effort", "values": ["minimal", "low", "medium", "high", "xhigh"] }
  ],
  "limit": { "context": 1048576, "output": 131072 }
}

Muse 只认 OpenAI Responses 协议(模型级 @ai-sdk/openai),不是 Chat Completions、也不是

Muse Spark fix for DeepSeek Harness on github.com

Also filed under Coding & dev tools

See all →
  1. 0870

    CodexBar adds Muse Code usage tracking★

    CodexBar learned a few new tricks in the last few weeks! TypeSafe, Nous Portal, Muse Code, CodeRabbit, Replicate, HuggingFace, Pi, Helmcode, v0, Charm Hyper, GitKraken AI, Bifrost My ambitions for this app REALLY outgrew the app name. (Oh and these keychain alerts are no more)

    @steipete

    X post

    Coding & dev tools

  2. 0656

    Custom terminal built with a Muse★

    A cool thing about @Muse is that every Muse runs on its own Linux machine. So you and your Muse can do normal Linux stuff together — like build your own terminal!

    @lucas_switzer

    X post

    Coding & dev tools

  3. 0597

    Spark 1.3 Contributor free in Cline★

    Meta’s Muse Spark 1.3 Contributor model is now available for free in Cline. Benchmarks show it’s similar in performance to Opus 5, but considerably more affordable.

    @cline

    X post

    Coding & dev tools

  4. 0574

    Muse Spark 1.3 in Cursor★

    Muse Spark 1.3 from Meta is now available in Cursor!

    @cursor_ai

    X post

    Coding & dev tools

More GitHub

See all →
  1. 1089

    Gig Driver Profit Checker — real delivery profit in minutes

    A working mobile-friendly web app built by the Meta Muse personal agent from a real courier's detailed requirements. It compares DoorDash/Uber Eats delivery offers after total miles (including empty return), waiting time, all-in vehicle costs and tolls. The surprising demo: a $9 offer can yield $19.08 net per hour while a $20 offer only yields $16.09 under stated assumptions. Muse created the standalone offline HTML and logic tests (49/49 self-reported); I downloaded it, independently verified actual browser inputs/outputs, published the source and proof screenshot to GitHub, and deployed a no-signup live demo. Live app: https://boyhoangxattpt2-blip.github.io/gig-driver-profit-checker/ . GitHub README includes exact math, source code, build story, and reproducible prompt.

    Anonymous

    GitHub

    Apps & websites

  2. 1087

    Zouroboros Workshop

    Muse is your personal assistant. Zouroboros Workshop is the workshop behind it. Workshop is an MCP service that runs on a private, single-tenant VPS provisioned for each customer. From a normal Muse conversation, a user can dispatch real software work to a coordinated team of seven AI coding executors — Claude Code, Codex, Gemini, OpenCode, Kimi, Hermes, and Pi — routed by health and capability, with automatic fallback when one executor is unavailable. Three things make it different from a single-vendor hosted builder. First, it runs on the subscriptions the user already pays for: there are no Workshop model credits and no second meter. Second, its memory is shared across every executor and survives across sessions, so a decision recorded by one tool is retrieved by another in a later Muse conversation — memory that compounds instead of resetting. Third, work is verified before it is delivered: builds run through a factory lane with deterministic review, and swarm results return with per-task evidence, not just an agent's claim that it is done. The customer-facing promise is simple: turn your existing AI tools into a workshop that delivers tested, reviewed work — a finished pull request, not a wall of code in chat.

    @Xmarlandoj

    GitHub

    Connectors & MCP

  3. 1086

    Self-Healing Agent VM

    A self-healing watchdog pattern for AI agent VMs: byte-exact restore caches in persistent storage, sentinel probes, no-clobber atomic restores, and verified heals. When the VM's root filesystem is rebuilt with pieces missing (Python stdlib, timezone data, Node), the watchdog restores them in minutes and reports only repairs and failures. Includes an AGENTS.md so any agent can set it up.

    @TMTrevisan

    GitHub

    Agents & automation

  4. 1084

    burner: a spare Android phone for Muse

    burner gives Muse a real Android phone you set aside for it. Muse uses the apps on it the way you would: it opens them, taps, types, scrolls and sends you screenshots, so it can use apps that have no website or API it can reach, like marketplaces and shopping apps. It stops and asks before anything you can't undo (sending, posting, buying), and it never signs in for you. Setup is one message to Muse: "Set up burner for me. Read the guide at https://useburner.si/skill.md and do everything in it." Muse then walks you through about 10 minutes of taps on the phone. Needs a spare Android phone (Android 11 or newer). Free and open source (MIT).

    @tropoFarmer

    GitHub

    Agents & automation

Curator picks

  1. 1057

    Muse Mail: your agent gets an email address★

    MUSE FEATURE ALERT: y'all have been asking for this one. your @muse is getting its own email address. add it to a thread or forward it stuff and it’ll handle it for you. muse mail!

    @alexandr_wang

    X post

    Agents & automation

  2. 1054

    Kevin Roose gives his Muse $100 and a Kalshi account★

    gave my Muse $100 and a kalshi account, let's see how frontier this thing is

    @kevinroose

    X post

    Agents & automation

  3. 1046

    Medical bills audited line by line, $4,000 saved★

    Got Muse logged in to my medical provider’s portal, he pulled the itemized bills, and questioned every line. So far he’s found several times I’d been double billed, asked for some discounts and has saved me over $4,000. If your moat is bureaucracy, you’re cooked.

    @Ryan_Holdaway

    X post

    Errands & personal agent

  4. 1042

    GitHub connector for Muse★

    GitHub 🤝 @Muse A new way to connect your GitHub account to review PRs, catch up on issues and notifications, and leave comments without switching tabs.

    @github

    X post

    Connectors & MCP

Want more AI builds?artificialbuilds.com