What a plugin's model tools stand on: the bindings plugins declare, and requests to a Project model outside a chat turn. A group of its own, above the Projects, Sessions and usage it reads and the machines its bindings travel to; no operation is named here — those are the plugins'.
API
@Module({
children: [ToolModelBindingsProvider, ProjectModelRequestsService],
exports: [ToolModelBindings, ProjectModelRequests],
})
export class ModelToolsModule {}Children (2)
ToolModelBindingsProvider
Owns the slot; provides the interface and serves it at /api/projects/:projectId/models/ tool-bindings. The declarations are read off the slot at boot; each call attributes them to the packages of the plugin host as it is then (the host registers its plugins when the generation commits, after this tree booted).
View module → (packages/server/src/services/tool-model-bindings.ts:60)
@Bindslot
ToolModelBindingsProvider.routesProjectModelRequestsService
No JSDoc comment in source.
View component → (library/project/src/model-requests.ts:76)