Skip to content

feat: add reusable OpenCode free-model selection flow#2

Open
Daltonganger wants to merge 12 commits intomasterfrom
feat/opencode-free-model-discovery
Open

feat: add reusable OpenCode free-model selection flow#2
Daltonganger wants to merge 12 commits intomasterfrom
feat/opencode-free-model-discovery

Conversation

@Daltonganger
Copy link
Copy Markdown
Owner

Summary

  • add OpenCode free-model discovery to installer using opencode models --refresh --verbose, filtering to free opencode/* models only
  • introduce a reusable model-selection engine so best-model logic is provider-agnostic and can be reused for future providers (for example Chutes/OpenRouter)
  • support OpenCode-only multi-model assignment and hybrid overlays with OpenAI/Kimi/Antigravity while keeping designer on external provider mappings in hybrid mode
  • document new installer flags and behavior across installation, quick-reference, and antigravity guides

Testing

  • bun test src/cli/model-selection.test.ts
  • bun test src/cli/system.test.ts
  • bun test src/cli/providers.test.ts

@kilo-code-bot
Copy link
Copy Markdown

kilo-code-bot bot commented Feb 6, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Overview

Severity Count
CRITICAL 0
WARNING 0
SUGGESTION 0
Files Reviewed (9 files)
  • src/cli/chutes-selection.ts
  • src/cli/dynamic-model-selection.ts
  • src/cli/opencode-models.ts
  • src/cli/opencode-selection.ts
  • src/cli/providers.test.ts
  • src/cli/providers.ts
  • src/cli/system.test.ts
  • src/cli/types.ts
  • src/config/constants.ts
  • src/config/loader.test.ts
  • src/config/loader.ts
  • src/config/schema.ts
Key Changes

This PR introduces several new features and improvements:

  1. OpenCode Free Model Discovery: Added support for discovering and using free opencode/* models directly through opencode models --refresh --verbose
  2. Chutes Provider: Added support for Chutes provider with daily-cap aware selection
  3. Dynamic Model Selection: Added dynamic model plan generation based on available providers
  4. Fallback Configuration: Added fallback chain configuration for each agent
  5. New Providers: Added support for Anthropic, GitHub Copilot, and Zai Coding Plan providers
  6. Updated Model Mappings: Updated OpenAI model from GPT-5.2-codex to GPT-5.3-codex
  7. Improved Documentation: Updated README.md, installation.md, and added provider-combination-matrix.md
Tests Passing

All important tests for this PR are passing:

  • opencode-models.test.ts: ✓ 2 tests
  • opencode-selection.test.ts: ✓ 2 tests
  • providers.test.ts: ✓ 23 tests
  • dynamic-model-selection.test.ts: ✓ 1 test
  • system.test.ts: ✓ 7 tests
  • chutes-selection.test.ts: ✓ 2 tests

The failing tests are related to the grep tool not finding the ripgrep executable, which is a pre-requisite.

Ruben Beuker and others added 7 commits February 6, 2026 23:01
…ion setup (alvinunreal#115)

* feat: add reusable OpenCode free-model selection flow

* docs: keep antigravity guide focused on antigravity setup

* feat: add Chutes provider with adaptive model selection

* fix: remove request-tier bias from Chutes model scoring

* feat: add provider-aware 6-agent fallback chains with 15s failover

* feat: add subscription prompts and provider-aware chains for anthropic/copilot/zai

* refactor: rebalance mixed provider defaults toward Kimi and GPT-5.3

* feat: add dynamic provider-aware model planning from live catalog

* docs: add 5 provider-combination config scenarios

---------

Co-authored-by: Ruben Beuker <rubenbeuker@MacBook-Pro-van-Ruben.local>
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