t3-code-android-nightly/.repos/effect-smol/migration/annotations/effect__ai__LanguageModel.yaml
Julius Marminge 6f9cea00ae
chore(refs): sync Effect and Alchemy references to 4.0.1 and beta.80 (#16170)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-05 13:22:30 -07:00

12 lines
1 KiB
YAML

"@effect/ai/LanguageModel#ConstructorParams":
replacement: "none"
note: "V4 inlines this provider-adapter shape in LanguageModel.make. Pass generateText and streamText directly to make, with optional codecTransformer, instead of naming a constructor-parameter type."
"@effect/ai/LanguageModel#ExtractContext":
replacement: "LanguageModel.ExtractServices"
note: "Renamed in effect/ai/LanguageModel. ExtractServices infers toolkit handler, result-decoding, and effectful-toolkit service requirements."
"@effect/ai/LanguageModel#LanguageModel":
replacement: "LanguageModel.LanguageModel"
note: "Use the LanguageModel interface for implementations and the Context.Service value as the service key; it is no longer a class. Prefer LanguageModel.make to construct the branded implementation."
"@effect/ai/LanguageModel#Service":
replacement: "LanguageModel.LanguageModel"
note: "Service was renamed to LanguageModel. Implementations require [LanguageModel.TypeId]: LanguageModel.TypeId; LanguageModel.make supplies the brand."