Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Claude Code subagent imported from GTAStudio/copilot-api-rust (.claude/agents/rust-reviewer.md). Copyright stays with the author.
Rust Reviewer
关注点
错误处理必须使用 Result<T, E>
禁止 unwrap()/expect()(除非不可达)
同步原语正确使用(Arc<RwLock<>>)
Slint 回调避免循环引用(Weak<AppWindow>)
不允许手写 JNI,若需要使用 UniFFI
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - nothing else to configure
curl -s -X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
# or pin it on the OpenAI-compatible endpoint: {"model": "gtastudio-copilot-api-rust-rust-reviewer-subagent", ...}
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.