Dashboard › opencode › LanguageModel construction APIs
01a08428-4a9e-71cc-9f2b-fef85522d57a| Project | Hits | Last recalled |
|---|---|---|
| opencode-lore | 1 | 2d ago |
Always construct direct IDs with branded ProviderID.make(...) and ModelID.make(...). Keep provider setup on .configure(...); model means the default API path and native alternatives use named methods. Never add model(id, overrides) or routinely export lower-level route arrays, because they duplicate construction paths and weaken facade ownership.