registerModelHook installs the [hooks.HookTypeModel] factory on r using the runtime's default [hooks.ModelClient]. It is called once from [NewLocalRuntime] alongside the builtins.
(r *hooks.Registry, registry *provider.Registry)
| 87 | // using the runtime's default [hooks.ModelClient]. It is called once |
| 88 | // from [NewLocalRuntime] alongside the builtins. |
| 89 | func registerModelHook(r *hooks.Registry, registry *provider.Registry) { |
| 90 | r.Register(hooks.HookTypeModel, hooks.NewModelFactory(providerModelClient{registry: registry})) |
| 91 | } |
no test coverage detected