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.
Imported from llf159/lianghua-rs (crates/lianghua-app-expression/AGENTS.md). Install upstream with npx skills add llf159/lianghua-rs --skill lianghua-app-expression. Copyright stays with the author.
组件取舍
本 crate 只把底层表达式能力转换成适配层需要的描述数据,不执行市场或策略业务。
保持依赖最小化,只依赖 lianghua-core 和序列化库,以获得最快的增量编译。
只运行 cargo test -p lianghua-app-expression,不要因此触发全 workspace 测试。
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 - a plan picks it for its slot
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}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.