Skip to content

fix(opencode): select remote CLIProxy provider - #2270

Merged
shunkakinoki merged 4 commits into
mainfrom
codex/cliproxy-remote-settings
Aug 5, 2026
Merged

fix(opencode): select remote CLIProxy provider#2270
shunkakinoki merged 4 commits into
mainfrom
codex/cliproxy-remote-settings

Conversation

@shunkakinoki

@shunkakinoki shunkakinoki commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • select the existing shunkakinoki remote CLIProxy provider for OpenCode model and small-model defaults
  • declare the selected DeepSeek model in the remote provider catalog
  • preserve the cliproxyapi local provider and its http://localhost:8317/v1 base URL

Verification

  • regenerated hydrated configs with scripts/llm-update.sh
  • verified selected model keys exist in the remote provider catalog
  • git diff --check

@indent-zero

indent-zero Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor
PR Summary

Narrows the "point CLIProxy at the remote endpoint" change down to just opencode's default model selection. Commit 9d647d0 reverts every other config file (aichat, ccs, codex, hermes, llm, openclaw, pi, and all *.settings.* files) back to the local http(s)://(localhost|127.0.0.1):8317 endpoint so local CLIProxy usage is preserved. Commit 081852e then flips only opencode's top-level model/small_model from the local cliproxyapi/… provider to the remote shunkakinoki/… provider and adds a matching deepseek-v4-flash entry to that provider's model list. Commit 7c78ce7 is a merge from main that brings in unrelated roborev/kyber-host changes already merged upstream.

  • Reverted client-side CLIProxy URLs back to local endpoints across every non-opencode config (and the CCS cliproxy_server.remote block back to 127.0.0.1:8317/http).
  • Switched opencode's default model to shunkakinoki/deepseek-v4-flash and small_model to shunkakinoki/z-ai/glm-4.7, updating both opencode.jsonc and opencode.tpl.jsonc.
  • Registered deepseek-v4-flash under the shunkakinoki provider's models block in both variants so the new default resolves.
  • Merged main: adds a shared roborev-agent.sh hook, wires it into claude/codex/factory settings, extends roborev to the kyber host with an explicit --addr 127.0.0.1:7373, and updates matching specs (all inherited from PR feat(roborev): run reviews locally on each host #2269).

Issues

All clear! No issues remaining. 🎉

3 issues already resolved
  • Opencode cliproxyapi provider is still labeled "CLIProxyAPI (local)" and every model says "(via local CLIProxyAPI)", but its baseURL now points at the remote endpoint — duplicating the neighboring shunkakinoki provider and mislabeling entries in the model picker. (fixed by commit 9d647d0)
  • In config/ccs/config.template.yaml, cliproxy_server.remote sets both protocol: https and port: 443; the explicit port is redundant and, depending on how CCS composes URLs/Host headers, can surface as cliproxy.shunkakinoki.com:443 and confuse host-based routing at the reverse proxy. (fixed by commit 9d647d0)
  • CCS cliproxy_server sets fallback.enabled: true but local.auto_start: false, so if the hosted endpoint is unreachable the fallback has nothing to fall back to unless the local proxy on :8317 was already started manually — a bigger deal now that the primary path leaves the machine. (fixed by commit 9d647d0)

CI Checks

Waiting for CI checks...

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@shunkakinoki, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 40 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 1f64a707-fb7c-472f-9194-1d5b3ff22df7

📥 Commits

Reviewing files that changed from the base of the PR and between 90923c5 and 081852e.

📒 Files selected for processing (2)
  • config/opencode/opencode.jsonc
  • config/opencode/opencode.tpl.jsonc

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.

Comment thread config/opencode/opencode.jsonc Outdated
Comment thread config/ccs/config.template.yaml Outdated
@shunkakinoki shunkakinoki changed the title fix(agents): point CLIProxy settings at remote endpoint fix(opencode): select remote CLIProxy provider Aug 5, 2026
@shunkakinoki
shunkakinoki merged commit 2f40ab9 into main Aug 5, 2026
3 of 4 checks passed
@shunkakinoki
shunkakinoki deleted the codex/cliproxy-remote-settings branch August 5, 2026 08:02
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