OrcaRouter provider support for Parallel Code
Maintainer thường phản hồi trong vòng 4 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- api, backend-api-design
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 1k
- Fork
- 144
- Merge trung bình
- 4 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của johannesjo/parallel-code
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
johannesjo/parallel-code#385 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Option to show usage as used instead of left, and potential further customization ideasCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
johannesjo/parallel-code#353 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
johannesjo/parallel-code#163 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 12/100
johannesjo/parallel-code#375 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
Package as a PlatpakĐang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
johannesjo/parallel-code#374 ·
Maintainer thường phản hồi trong vòng 4 ngày
Tất cả issue của johannesjo/parallel-code
Issue tương tự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
ci
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ClickHouse/clickhouse-js#1248 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
E2E: Darlehen-Test wartet auf die gebuchte Auszahlung, bevor er zur Liquiditätsvorschau wechseltĐang mởtechnik
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
SR5-FoundryVTT/SR5-FoundryVTT#2162 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
AhmedNAgy25/analysor#25 ·
Maintainer thường phản hồi trong vòng 1 ngày