Function
layer
(options: {
readonly model: string
readonly config?: Omit<Config.Service, "model">
})
Source from the content-addressed store, hash-verified
| 312 | * @category Layers |
| 313 | */ |
| 314 | export const layer = (options: { |
| 315 | readonly model: string |
| 316 | readonly config?: Omit<Config.Service, "model"> |
| 317 | }): Layer.Layer<LanguageModel.LanguageModel, never, OpenRouterClient> => |
| 318 | Layer.effect(LanguageModel.LanguageModel, make({ model: options.model, config: options.config })) |
| 319 | |
| 320 | /** |
| 321 | * @since 1.0.0 |
Tested by
no test coverage detected