Skip to content

feat(roleplay): start the intelligence chain on OpenCode Go - #91

Merged
ALikesToCode merged 1 commit into
mainfrom
feat/roleplay-opencode-go
Oct 25, 2026
Merged

ALikesToCode merged 1 commit into
mainfrom
feat/roleplay-opencode-go

Conversation

@ALikesToCode

@ALikesToCode ALikesToCode commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Roleplay's roleplay:intelligence chain (and roleplay:auto, since production routes it there) now tries three OpenCode Go models before GLM-5.3 on ClinePass:

  1. opencode:deepseek-v4.1-flash
  2. opencode:glm-5.3
  3. opencode:mimo-v2.6-pro

The rest of the chain is unchanged; ClinePass still lists cline-pass/mimo-v2.6-pro in its clinePass recommended models, so that entry stays. This is a wrangler.jsonc var change, plus the config test and docs/roleplay.md.

Measurements (2026-10-25, OpenCode Go, 24 streamed turns)

Four scenes: continuation, conflict, out-of-character recall with a word cap, and a 20k-token lorebook lookup. Every turn returned 200, kept to the card, and passed recall and lookup. No <think> leaked.

Model Median turn First text Output speed Allowance per turn (short / 20k context)
DeepSeek V4.1 Flash 5.2 s 2.9 s 126 tok/s 0.0002 / 0.0023
GLM-5.3 8.3 s 4.1 s 69 tok/s 0.0096 / 0.070
MiMo-V2.6-Pro 13.5 s 5.6 s 28 tok/s 0.0012 / 0.018

DeepSeek wrote nearly as well as GLM, was fastest and is the cheapest by far, so it leads. GLM-5.3 wrote the strongest scenes. MiMo gave the shortest replies and had some point-of-view slips. Go meters each model against its own monthly allowance.

Checks

  • node --test passes for the roleplay config, intelligence, worker, deploy-pipeline, Cloudflare-worker and runtime-flag suites.
  • wrangler dev boots with the new chain and tries the Go entries in order, falling through on each rejection. From a local Worker, OpenCode answers with Cloudflare error 1010, the Worker-signature block. Production avoids that by sending OpenCode through the container, so the first production turn after deploy is the real end-to-end check.
  • The production OPENCODE_GO_API_KEY secret has been replaced with a working key.

If the first production turn still gets 403 from OpenCode, remove the three entries; that is a var-only revert.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-25T05:20:35.341972Z
We couldn’t complete this review. Comment @codex review to try again.
a0dcb65 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3a84387f-b308-4a45-8ae8-214de13eead8
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Roleplay now tries DeepSeek V4.1 Flash, GLM-5.3 and MiMo-V2.6-Pro on
OpenCode Go before GLM-5.3 on ClinePass; the rest of the chain is
unchanged.

In 24 test turns on Go (scene continuation, conflict, out-of-character
recall and a 20k-token lorebook lookup) all three answered every turn
and kept to the card. DeepSeek V4.1 Flash was fastest (median 5.2 s),
wrote nearly as well as GLM-5.3 and used about a thirtieth of its
allowance per turn, so it leads. GLM-5.3 wrote the strongest scenes
(8.3 s); MiMo-V2.6-Pro was slowest (13.5 s) with the shortest replies.
A rejected Go request falls through to the next entry.
@ALikesToCode
ALikesToCode force-pushed the feat/roleplay-opencode-go branch from a0dcb65 to 142fa66 Compare October 25, 2026 06:22
@ALikesToCode
ALikesToCode merged commit 12db9be into main Oct 25, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant