OrcaRouter provider support for Parallel Code
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
First get maintainer guidance on the provider enum, Settings entry, and key storage, as the issue explicitly leaves those decisions open. Then read electron/ipc/ask-code.ts and ask-code-minimax.ts to understand the existing provider flow. Done means an optional OrcaRouter provider is implemented and tested without changing the existing providers.
索引モデルが issue の本文から書いたものです。
説明
Why Parallel Code is a great home for more model choice
Parallel Code runs AI coding CLIs — Claude Code, Codex, Gemini, Copilot, Antigravity — side by side, each task in its own git worktree and branch. That automatic isolation removes the merge conflicts that normally cap how many parallel agents one developer can safely run; the reviewable diffs you merge or toss are the payoff.
Ask Code already makes the model behind a question configurable — Claude Code by default or MiniMax M2.7, called as a direct chat/completions endpoint with a Bearer API key set in Settings. A gateway serving many models through one endpoint would let those users pick the right model per question instead of re-pointing provider config each time.
Proposal: OrcaRouter as an optional Ask Code provider
I'm an engineer on the OrcaRouter team. This is a proposal for maintainer feedback, not finished code — nothing is implemented or tested yet.
The seam is electron/ipc/ask-code.ts, where AskCodeProvider is currently 'claude' | 'minimax', and the MiniMax backend (ask-code-minimax.ts) is a fetch to https://api.minimax.io/v1/chat/completions with an Authorization: Bearer header, the API key held in the main process. OrcaRouter exposes an OpenAI-compatible API and uses standard API-key authentication, so an option could follow the same shape as the MiniMax backend. I'd want your call on where the provider enum, Settings entry, and key storage should live before writing code. Adding it would be purely optional and would not replace or change the Claude Code, MiniMax, or per-agent CLI setups you already ship.
Capabilities most relevant to Parallel Code's users:
- Multiple chat and reasoning models through one endpoint — one OrcaRouter key and base URL lets Ask Code reach models beyond today's two backends.
- Automatic routing and provider failover — if an upstream model is rate-limited or degraded, a routed request falls back to another capable model instead of failing the Q&A.
- Usage tracking — per-project request and spend visibility for teams that share the app.
OrcaRouter already has open-source integrations including Dify, goose, promptfoo, and OpenCode — the last an agent Parallel Code can itself dispatch. For a project that highlights being free, open source, and without an extra platform fee, an optional gateway only adds a choice.
One transparent note: OrcaRouter's optional open-source partner program gives approved OSS projects a 5% revenue share from OrcaRouter usage attributed to their integration. That is not a condition of integration, and I'd gladly follow whatever disclosure or governance rules Parallel Code prefers.
Existing integrations are listed at https://www.orcarouter.ai/built-with. If this direction seems useful, I'd welcome your thoughts — and, with your go-ahead, I'd be glad to submit an implementation PR.
- 主要言語
- TypeScript
- スター
- 1k
- フォーク
- 144
- 平均マージ
- 4日 19時間
- マージ済み PR(30日)
- 28
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
johannesjo/parallel-code のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
johannesjo/parallel-code#385 ·
メンテナーはふだん 4 日以内に返信
-
Option to show usage as used instead of left, and potential further customization ideas対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
johannesjo/parallel-code#353 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
johannesjo/parallel-code#163 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
johannesjo/parallel-code#375 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
Package as a Platpakオープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
johannesjo/parallel-code#374 ·
メンテナーはふだん 4 日以内に返信
johannesjo/parallel-code の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
ci
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ClickHouse/clickhouse-js#1248 ·
メンテナーはふだん 1 日以内に返信
-
E2E: Darlehen-Test wartet auf die gebuchte Auszahlung, bevor er zur Liquiditätsvorschau wechseltオープンtechnik
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
SR5-FoundryVTT/SR5-FoundryVTT#2162 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
AhmedNAgy25/analysor#25 ·
メンテナーはふだん 1 日以内に返信