Skip to content

Updating some model profiles#103

Open
ktneely wants to merge 2 commits intoSteffen025:mainfrom
ktneely:main
Open

Updating some model profiles#103
ktneely wants to merge 2 commits intoSteffen025:mainfrom
ktneely:main

Conversation

@ktneely
Copy link
Copy Markdown

@ktneely ktneely commented Apr 2, 2026

  • OpenCode has deprecated a number of models and added others. (e.g. minimax-2.1 is no longer available)
  • Opencode free has swapped out nearly everything but Big Pickle
  • There are more capable Qwen models at same or lower VRAM usage with the new 3.5 versions.

Summary by CodeRabbit

  • Chores

    • Updated default models and tier mappings across local, free (ZEN), and paid profiles so agents use newer model variants for improved baseline and tiered behavior.
    • Updated plugin reference to a newer build/version.
  • Documentation

    • Revised the listed available free models and recommended alternatives shown to users.

…els and added others. There are more capable Qwen models at same or lower VRAM usage.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 2, 2026

📝 Walkthrough

Walkthrough

Updated three Ollama deployment profiles and related metadata: local profile migrated agents from qwen2.5-coder to qwen3.5 (Writer moved to mistral-small3.2), zen-paid bumped glm/minimax versions, zen free profile swapped defaults and tier mappings to newer model families; package metadata and a plugin comment block were also updated.

Changes

Cohort / File(s) Summary
Local Profile
.opencode/profiles/local.yaml
Switched default and per-agent models from ollama/qwen2.5-coder variants to ollama/qwen3.5 variants; updated tier mappings accordingly; Writer moved to ollama/mistral-small3.2:24b.
Zen-Paid Profile
.opencode/profiles/zen-paid.yaml
Replaced opencode/glm-4.7opencode/glm-5 and opencode/minimax-m2.1opencode/minimax-m2.5 across affected agents and tiers; comment list updated.
Zen (free) Profile
.opencode/profiles/zen.yaml
Changed default_model to opencode/qwen3.6-plus-free and replaced many agent models/tiers with nemotron-3-super-free, qwen3.6-plus-free, mimo-v2-pro-free, minimax-m2.5-free, big-pickle, etc.
Package metadata
.opencode/package.json
Bumped @opencode-ai/plugin dependency from 1.1.391.2.15-feature/model-tiers-07c681eab; removed trailing newline.
Plugin comment list
.opencode/plugins/lib/model-config.ts
Updated documentation/commented list of available ZEN free models (removed some entries, added nemotron-3-super-free, qwen3.6-plus-free, mimo-v2-pro-free, mimo-v2-omni-free); no runtime code changes.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 I hopped through YAML, swift and spry,

Swapped models, tiers, a bright new sky.
Qwen, Mistral, Nemotron in tune,
Agents ready — code hums like a loon! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'Updating some model profiles' is overly vague and generic. While it relates to the changeset, it lacks specificity about which profiles or what kind of updates were made. Use a more specific title that indicates the scope of changes, such as 'Update model configurations across local, zen, and zen-paid profiles' or similar.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.opencode/profiles/local.yaml:
- Line 30: Remove the trailing spaces after model names in
.opencode/profiles/local.yaml (e.g., fix entries like "ollama/qwen3.5:27b " to
"ollama/qwen3.5:27b") for all affected lines (30, 36, 42, 48, 68, 74, 80, 86,
92, 100, 106, 112); edit each model value string to trim trailing whitespace so
the raw model identifiers are exact and run a quick YAML/linter check to ensure
no other values contain trailing spaces.

In @.opencode/profiles/zen.yaml:
- Around line 10-96: Update the outdated comment block in
.opencode/plugins/lib/model-config.ts (the comment at the top that enumerates
ZEN free models "as of Jan 2026") so it matches the current
.opencode/profiles/zen.yaml or explicitly states that zen.yaml is the source of
truth used for programmatic fallback; specifically replace the stale model list
(opencode/big-pickle, opencode/grok-code, opencode/glm-4.7-free,
opencode/minimax-m2-1-free, opencode/gpt-5-nano) with the current models seen in
zen.yaml (opencode/qwen3.6-plus-free, opencode/nemotron-3-super-free,
opencode/mimo-v2-pro-free, opencode/minimax-m2.5-free) or add a one-line
clarification referencing zen.yaml as authoritative so readers and maintainers
(and any mention of ZEN free models in the model-config.ts comment) are not
misled.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: cb6182a6-1e50-4a0a-8b50-f91d3e3d1c15

📥 Commits

Reviewing files that changed from the base of the PR and between 372a751 and 0d1bdae.

📒 Files selected for processing (3)
  • .opencode/profiles/local.yaml
  • .opencode/profiles/zen-paid.yaml
  • .opencode/profiles/zen.yaml

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
.opencode/package.json (1)

17-17: Missing trailing newline at end of file.

POSIX convention recommends files end with a newline character. This is a minor formatting nit with no functional impact.

✨ Suggested fix

Ensure the file ends with a newline after the closing brace:

   }
-}
+}
+
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.opencode/package.json at line 17, The package.json file ends with a closing
brace '}' but lacks the POSIX-required trailing newline; open the
.opencode/package.json (look for the final closing brace character '}' at EOF)
and add a single newline character after that brace so the file ends with a
newline.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.opencode/package.json:
- Line 7: The dependency version for `@opencode-ai/plugin` in package.json is
invalid; update the entry "@opencode-ai/plugin" to the correct published semver
(e.g., "1.2.15" if that is intended) and ensure it matches the version
referenced in bun.lock (which currently contains `@opencode-ai/plugin`@1.1.39);
after changing package.json run bun install to regenerate bun.lock and commit
the updated bun.lock alongside the package.json change so versions are
consistent.

---

Nitpick comments:
In @.opencode/package.json:
- Line 17: The package.json file ends with a closing brace '}' but lacks the
POSIX-required trailing newline; open the .opencode/package.json (look for the
final closing brace character '}' at EOF) and add a single newline character
after that brace so the file ends with a newline.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 6d4b2cc7-f387-47ff-a67e-5e47fae1347d

📥 Commits

Reviewing files that changed from the base of the PR and between 0d1bdae and eea9b2f.

📒 Files selected for processing (3)
  • .opencode/package.json
  • .opencode/plugins/lib/model-config.ts
  • .opencode/profiles/local.yaml
✅ Files skipped from review due to trivial changes (1)
  • .opencode/plugins/lib/model-config.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • .opencode/profiles/local.yaml

"dependencies": {
"@google/genai": "^1.38.0",
"@opencode-ai/plugin": "1.1.39",
"@opencode-ai/plugin": "1.2.15-feature/model-tiers-07c681eab",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Check if the specified version exists in the npm registry

echo "Checking if `@opencode-ai/plugin`@1.2.15-feature/model-tiers-07c681eab exists in npm registry..."
npm view `@opencode-ai/plugin`@1.2.15-feature/model-tiers-07c681eab version 2>&1

echo ""
echo "Listing available versions matching 1.2.x pattern:"
npm view `@opencode-ai/plugin` versions --json 2>&1 | grep -E '"1\.2\.' | head -20

Repository: Steffen025/pai-opencode

Length of output: 1044


🏁 Script executed:

# Check the actual version in package.json and look for the plugin reference in bun.lock
head -20 .opencode/package.json
echo "---"
grep -i "@opencode-ai/plugin" .opencode/bun.lock | head -5

Repository: Steffen025/pai-opencode

Length of output: 717


Invalid version specification; bun install will fail.

The version 1.2.15-feature/model-tiers-07c681eab specified in package.json (line 7) does not exist in the npm registry. Additionally, bun.lock (line 1) still references @opencode-ai/plugin@1.1.39, creating a mismatch. Running bun install will fail because the specified version cannot be resolved.

Verify the intended version is 1.2.15 (which exists in the registry) or correct to the appropriate version. Then regenerate the lock file by running bun install and commit the updated bun.lock.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.opencode/package.json at line 7, The dependency version for
`@opencode-ai/plugin` in package.json is invalid; update the entry
"@opencode-ai/plugin" to the correct published semver (e.g., "1.2.15" if that is
intended) and ensure it matches the version referenced in bun.lock (which
currently contains `@opencode-ai/plugin`@1.1.39); after changing package.json run
bun install to regenerate bun.lock and commit the updated bun.lock alongside the
package.json change so versions are consistent.

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