You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚀 Announcing passenger-rs: Use GitHub Copilot with Rig
Hey Rig community! 👋
I've built a proxy server that lets you use GitHub Copilot models (including Claude Sonnet 4.5) with Rig and other Ollama-compatible frameworks.
Why?
GitHub Copilot provides access to powerful models like Claude Sonnet 4.5, but uses a proprietary API format. passenger-rs bridges this gap by converting Copilot's API into OpenAI and Ollama-compatible formats that work seamlessly with Rig.
How?
Built in Rust using Axum and Tokio. The proxy handles:
GitHub OAuth authentication
Automatic token management and refresh
Request/response transformation between Rig/Ollama format and Copilot format
Usage with Rig
use rig::providers::ollama;let client = ollama::Client::builder().base_url("http://127.0.0.1:8081/v1").build()?;let model = client.completion_model("claude-sonnet-4.5");let agent = AgentBuilder::new(model).preamble("You're an AI assistant powered by GitHub Copilot").name("copilot-agent").max_tokens(2000).build();
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 Announcing passenger-rs: Use GitHub Copilot with Rig
Hey Rig community! 👋
I've built a proxy server that lets you use GitHub Copilot models (including Claude Sonnet 4.5) with Rig and other Ollama-compatible frameworks.
Why?
GitHub Copilot provides access to powerful models like Claude Sonnet 4.5, but uses a proprietary API format. passenger-rs bridges this gap by converting Copilot's API into OpenAI and Ollama-compatible formats that work seamlessly with Rig.
How?
Built in Rust using Axum and Tokio. The proxy handles:
Usage with Rig
Check it out: grumlimited/passenger-rs
Installation packages available for Arch Linux and Ubuntu, or build from source.
Would love to hear feedback from the community! 🦀
Beta Was this translation helpful? Give feedback.
All reactions