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.
Instruction file imported from armandpesme/config-fancymenu (.github/instructions/forge-assets.instructions.md). Copyright stays with the author.
Assets & data Forge 1.20.1
Respecter le mod id dans tous les chemins (assets/<modid>/..., data/<modid>/...).
Pour un item à registry plat foo_bar : modèle attendu à assets/<modid>/models/item/foo_bar.json. Si le JSON est dans un sous-dossier (item/subdir/foo_bar.json), l'ID registry doit être subdir/foo_bar.
JSON strictement valide (clés entre guillemets, virgules correctes, encodage UTF-8).
pack.mcmeta aligné sur le pack format de MC 1.20.1.
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 - 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.