MCPcopy Create free account
hub / github.com/Effect-TS/effect / model

Function model

packages/ai/anthropic/src/AnthropicLanguageModel.ts:298–302  ·  view source on GitHub ↗
(
  model: (string & {}) | Model,
  config?: Omit<Config.Service, "model">
)

Source from the content-addressed store, hash-verified

296 * @category Ai Models
297 */
298export const model = (
299 model: (string & {}) | Model,
300 config?: Omit<Config.Service, "model">
301): AiModel.Model<"anthropic", LanguageModel.LanguageModel, AnthropicClient> =>
302 AiModel.make("anthropic", layer({ model, config }))
303
304/**
305 * @since 1.0.0

Callers

nothing calls this directly

Calls 2

layerFunction · 0.70
makeMethod · 0.65

Tested by

no test coverage detected