Skip to content

feat: Add OpenCode Go provider support#2825

Open
ravshansbox wants to merge 3 commits intoantinomyhq:mainfrom
ravshansbox:feat/add-opencode-go-provider
Open

feat: Add OpenCode Go provider support#2825
ravshansbox wants to merge 3 commits intoantinomyhq:mainfrom
ravshansbox:feat/add-opencode-go-provider

Conversation

@ravshansbox
Copy link
Copy Markdown
Contributor

Summary

Add support for the OpenCode Go provider, a simpler alternative to OpenCode Zen focused on providing access to open-source models.

Changes

  • Add OPENCODE_GO provider ID constant with display name "OpenCode Go"
  • Create OpenCodeGoResponseRepository for handling OpenCode Go API requests at https://opencode.ai/zen/go/v1/chat/completions
  • Add OpenCode Go to provider routing in ForgeChatRepository
  • Configure OpenCode Go provider in provider.json with the following models:
    • GLM 5 - Zhipu AI flagship model with 204K context
    • Kimi K2.5 - Moonshot AI flagship model with 262K context, vision support
    • MiMo V2 Pro - Xiaomi flagship model with 1M context
    • MiMo V2 Omni - Xiaomi omni-modal model
    • MiniMax M2.7 - MiniMax latest model with 200K context
    • MiniMax M2.5 - MiniMax model with 204K context
  • Add OpenCode Go to pipeline transformer for strict schema handling
  • Fix display names for both OpenCode Zen ("OpenCode Zen") and OpenCode Go ("OpenCode Go")

Motivation

Users requested OpenCode Go support as an alternative to OpenCode Zen, with access to different open-source models.

Related Issue

Co-Authored-By: ForgeCode noreply@forgecode.dev

@github-actions github-actions bot added the type: feature Brand new functionality, features, pages, workflows, endpoints, etc. label Apr 3, 2026
- Add OPENCODE_GO provider ID constant with display name 'OpenCode Go'
- Create OpenCodeGoResponseRepository for handling OpenCode Go API requests
- Add OpenCode Go to provider routing in ForgeChatRepository
- Configure OpenCode Go provider in provider.json with 6 models:
  - GLM 5, Kimi K2.5, MiMo V2 Pro, MiMo V2 Omni, MiniMax M2.7, MiniMax M2.5
- Add OpenCode Go to pipeline transformer for strict schema handling
- Fix display names for OpenCode Zen and OpenCode Go (proper casing)

Co-Authored-By: ForgeCode <noreply@forgecode.dev>
@ravshansbox ravshansbox force-pushed the feat/add-opencode-go-provider branch 2 times, most recently from 3c2d782 to a422ed1 Compare April 3, 2026 13:49
Co-Authored-By: ForgeCode <noreply@forgecode.dev>
@ravshansbox ravshansbox force-pushed the feat/add-opencode-go-provider branch from a3d463d to 26ef1cc Compare April 3, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature Brand new functionality, features, pages, workflows, endpoints, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add OpenCode Go provider support

1 participant