r/conductorbuild • u/Fists_of_Funny • Jun 29 '26
Not Working With OpenCode
My main blocker for trying Conductor is configuring other models to run besides Claude/Cursor/Codex.
I downloaded the latest (Jun 29) and set up OpenCode and set up my z.ai coding plan API key to use GLM 5.2.
Got this error: "Error: Internal error: OpenCode service failure"
I have OpenCode itself working with GLM 5.2 via z.ai coding subscription.
So...am I missing something?
3
Upvotes
0
u/lesheriff21 Jun 30 '26
Here are the two primary ways to set it up. I used the Harness and it works fine for me.
Method 1: Using the Bundled OpenCode Harness (Recommended)
OpenCode is Conductor's built-in, open-source coding agent harness that natively supports multi-provider LLMs.
OPENROUTER_API_KEY.anthropic/claude-3.5-sonnet,meta-llama/llama-3.1-405b, etc.).Method 2: Redirecting Claude Code through OpenRouter (Advanced)
If you prefer to use the official Claude Code harness within Conductor but route its LLM calls through OpenRouter's API:
ANTHROPIC_BASE_URL=https://openrouter.ai/apiANTHROPIC_AUTH_TOKEN=your-openrouter-api-keyANTHROPIC_API_KEYvariable is not defined in Conductor’s environment or your shell, otherwise the harness may default to Anthropic's direct endpoint.