Hướng dẫn tích hợp
Aider + OrcaRouter
Aider is a terminal-based AI pair programmer that edits your codebase via git commits. It speaks the OpenAI API natively — export two environment variables and every Aider session routes through OrcaRouter.
Các bước cài đặt
Kết nối OrcaRouter trong 5 phút
- 1.Install Aider: pip install aider-chat
- 2.Export OPENAI_API_BASE=https://api.orcarouter.ai/v1
- 3.Export OPENAI_API_KEY=sk-orca-… (your OrcaRouter key)
- 4.Run `aider --model <model>` in any git repo.
- 5.Aider will commit changes attributed to the model you chose.
Cấu hình mẫu
export OPENAI_API_BASE="https://api.orcarouter.ai/v1" export OPENAI_API_KEY="sk-orca-..." # Then run Aider with any model OrcaRouter supports: aider --model gpt-4o aider --model claude-sonnet-4 aider --model deepseek-coder-v2
Tại sao định tuyến Aider qua OrcaRouter?
Aider's long-running edit loops benefit enormously from OrcaRouter's automatic failover — a mid-session provider outage no longer nukes an hour of context. And because you're paying zero markup, you can run Aider with the best model without worrying about a router's margin inflating your bill.
Tích hợp khác
Sẵn sàng định tuyến Aider qua OrcaRouter?
Lấy một khóa API và định tuyến Aider qua OrcaRouter đến 200+ mô hình — không phụ phí.
