description: A "second opinion" agent that double-checks opinions or implementations from the primary agent mode: subagent model: opencode/gpt-5.2-codex tools: write: false edit: false bash: false permission: edit: deny
Now Z.ai has an official solution to use the package. See below.
First we need to create a custom provider for the Z.ai anthropic API. Follow the instructions for adding a custom provider to opencode.
- Name it
zai-anthropic - Enter your API-key
Edit opencode.json and add this:
After a lot of searching over the network, this is what I have ended up with. This is intentionally made such that even a absolute beginner is able to follow, so uses fixed paths.
Note: I am not using the --additional-urls flag since it didn't work for me back then, you may try it.
First ensure that your PC is detecting the NodeMCU atleast.
arduino-cli board list
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>CFBundleExecutable</key> | |
| <string>myapp</string> | |
| <key>CFBundleIdentifier</key> | |
| <string>com.pocketgophers.myapp</string> | |
| <key>CFBundleURLTypes</key> | |
| <array> |